Auto-release CI build

This commit is contained in:
Quinten Kock 2026-05-03 05:52:03 +02:00
parent ee937133df
commit 2461667030
1 changed files with 24 additions and 1 deletions

View File

@ -34,4 +34,27 @@ jobs:
with:
name: build-${{ matrix.os }}
path: out/make/**/*
if-no-files-found: error
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/**/*