From e1360794ab6b9d737080666d83bc8d2a0486778e Mon Sep 17 00:00:00 2001 From: DevContainer User Date: Wed, 4 Mar 2026 02:33:39 +0000 Subject: [PATCH] fix: use action-gh-release instead of gh CLI for release creation Self-hosted runner does not have gh CLI installed, causing "gh: command not found" in the Create GitHub Release step. Co-Authored-By: Claude Opus 4.6 --- .github/workflows/release.yaml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 5d47e0a..1d1369c 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -96,10 +96,9 @@ jobs: git push origin main --tags - name: Create GitHub Release - env: - GH_TOKEN: ${{ github.token }} - run: | - VERSION="${{ inputs.version }}" - gh release create "v${VERSION}" "${{ env.TARBALL }}" \ - --title "v${VERSION}" \ - --generate-notes + uses: softprops/action-gh-release@v2 + with: + tag_name: v${{ inputs.version }} + name: v${{ inputs.version }} + generate_release_notes: true + files: ${{ env.TARBALL }}