From 0f577749aaa24307ac69d4b586a9b673455ed157 Mon Sep 17 00:00:00 2001 From: Zuhaitz Méndez Fernández de Aránguiz Date: Sun, 25 Jan 2026 18:30:22 +0000 Subject: Generating binary (APE) as a release. --- .github/workflows/build-ape.yml | 18 ++++++++++++++++-- 1 file 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 -- cgit v1.2.3