diff options
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/build-ape.yml | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/.github/workflows/build-ape.yml b/.github/workflows/build-ape.yml index 3fe5c17..f5e9c85 100644 --- a/.github/workflows/build-ape.yml +++ b/.github/workflows/build-ape.yml @@ -3,6 +3,7 @@ name: APE Portable Build on: push: branches: [ "main" ] + tags: [ "v*" ] pull_request: branches: [ "main" ] workflow_dispatch: @@ -10,6 +11,8 @@ on: jobs: build-ape: runs-on: ubuntu-latest + permissions: + contents: write steps: - uses: actions/checkout@v4 @@ -32,14 +35,25 @@ jobs: make clean make ape - - name: Upload zc.com + - name: Upload zc.com Artifact uses: actions/upload-artifact@v4 with: name: zc-portable path: out/bin/zc.com - - name: Upload zc-boot.com + - name: Upload zc-boot.com Artifact uses: actions/upload-artifact@v4 with: name: zc-boot-portable path: out/bin/zc-boot.com + + - name: Create Release + if: startsWith(github.ref, 'refs/tags/v') + uses: softprops/action-gh-release@v2 + with: + files: | + out/bin/zc.com + out/bin/zc-boot.com + draft: false + prerelease: false + generate_release_notes: true |
