From e54c76e7cd4ce4434e0ad206dda92e0f4722b341 Mon Sep 17 00:00:00 2001 From: DevContainer User Date: Wed, 4 Mar 2026 02:06:07 +0000 Subject: [PATCH] fix: use softprops/action-gh-release instead of gh CLI The self-hosted runner does not have gh CLI installed, causing the Create GitHub Release step to fail with 'command not found'. Co-Authored-By: Claude Opus 4.6 --- .github/workflows/release.yaml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 8d9874b..dcfc5e1 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -110,10 +110,11 @@ jobs: git push origin main --tags - name: Create GitHub Release + uses: softprops/action-gh-release@v2 + with: + tag_name: "v${{ inputs.version }}" + files: ${{ env.TARBALL }} + fail_on_unmatched_files: true + generate_release_notes: true env: - GH_TOKEN: ${{ github.token }} - run: | - VERSION="${{ inputs.version }}" - gh release create "v${VERSION}" "${{ env.TARBALL }}" \ - --title "v${VERSION}" \ - --generate-notes + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}