From 182fefa27a4247e7269a96bf22e9d2d5068b0e14 Mon Sep 17 00:00:00 2001 From: DevContainer User Date: Wed, 4 Mar 2026 02:06:16 +0000 Subject: [PATCH] fix: use softprops/action-gh-release instead of gh CLI The self-hosted runner doesn't have gh CLI installed, causing "gh: command not found" at the Create GitHub Release step. 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 709a839..7879f77 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -97,10 +97,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 }}