From 246166703060473884382536df64fb0e3e9a8966 Mon Sep 17 00:00:00 2001 From: Quinten Kock Date: Sun, 3 May 2026 05:52:03 +0200 Subject: [PATCH] Auto-release CI build --- .github/workflows/build.yml | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2eba6fa..5041809 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -34,4 +34,27 @@ jobs: with: name: build-${{ matrix.os }} path: out/make/**/* - if-no-files-found: error \ No newline at end of file + if-no-files-found: error + + release: + needs: build + runs-on: ubuntu-latest + # Only release on pushes, not PRs + if: github.event_name == 'push' + permissions: + contents: write + + steps: + - name: Download all artifacts + uses: actions/download-artifact@v4 + with: + path: artifacts + merge-multiple: true + + - name: Create pre-release + uses: softprops/action-gh-release@v2 + with: + tag_name: pre-${{ github.sha }} + name: "Pre-release ${{ github.ref_name }}@${{ github.sha }}" + prerelease: true + files: artifacts/**/* \ No newline at end of file