summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorZuhaitz Méndez Fernández de Aránguiz <zuhaitz@debian>2026-01-25 18:30:22 +0000
committerZuhaitz Méndez Fernández de Aránguiz <zuhaitz@debian>2026-01-25 18:30:22 +0000
commit0f577749aaa24307ac69d4b586a9b673455ed157 (patch)
tree41ea28c091edd0cb16bb91bf3582168abb4df79c /.github/workflows
parente3ab29bb4d7174cae65de2275f19105eb3d93d91 (diff)
Generating binary (APE) as a release.v0.1.0
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build-ape.yml18
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