diff --git a/.github/workflows/upload-release.yml b/.github/workflows/upload-release.yml new file mode 100644 index 0000000..2ff7113 --- /dev/null +++ b/.github/workflows/upload-release.yml @@ -0,0 +1,26 @@ +name: Upload release + +on: + push: + tags: + - "*" + +jobs: + build: + runs-on: windows-latest + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Build with Make + run: make + + - name: Create ZIP file + run: | + powershell Compress-Archive -Path LICENSE, OBSReplayFolders.lua, detect_game.dll -DestinationPath obs-replay-folders.zip + + - name: Create release + uses: softprops/action-gh-release@v2 + with: + files: obs-replay-folders.zip