From 00503b1afd6cd9567b04bbfd859f1ed8246a353f Mon Sep 17 00:00:00 2001 From: Mylloon Date: Wed, 21 Aug 2024 13:08:31 +0200 Subject: [PATCH] automatic release --- .github/workflows/upload-release.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/upload-release.yml 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