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.
This commit is contained in:
parent
288a0f9441
commit
029b562607
1 changed files with 10 additions and 0 deletions
10
.github/workflows/build-arm64.yml
vendored
10
.github/workflows/build-arm64.yml
vendored
|
|
@ -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: |
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue