From 029b5626076ed76d170cc80be0cfedcd5fe69c5c Mon Sep 17 00:00:00 2001 From: muava12 Date: Sun, 22 Feb 2026 11:55:05 +0800 Subject: [PATCH] ci(actions): create github release for arm64 binaries This commit adds a 'Create GitHub Release' step using the GitHub CLI (gh release create) to the build-arm64 workflow. It also grants 'contents: write' permissions to the job so it can publish the generated Linux ARM64 binaries as a GitHub release associated with the dynamically calculated fork version. --- .github/workflows/build-arm64.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/build-arm64.yml b/.github/workflows/build-arm64.yml index d0b40fd27..9cca25566 100644 --- a/.github/workflows/build-arm64.yml +++ b/.github/workflows/build-arm64.yml @@ -11,6 +11,8 @@ jobs: build-arm64: name: Build Linux ARM64 runs-on: ubuntu-latest + permissions: + contents: write steps: - name: 📢 Notify Start run: | @@ -72,6 +74,14 @@ jobs: path: dist/*linux_arm64*/picoclaw* if-no-files-found: warn + - name: Create GitHub Release + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + gh release create "${{ env.FORK_VERSION }}" dist/*linux_arm64*/picoclaw* \ + --title "Fork Build ${{ env.FORK_VERSION }}" \ + --notes "Automated release from branch ${{ github.ref_name }}." + - name: 📢 Notify Success if: success() run: |