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 <noreply@anthropic.com>
This commit is contained in:
@@ -96,10 +96,9 @@ jobs:
|
|||||||
git push origin main --tags
|
git push origin main --tags
|
||||||
|
|
||||||
- name: Create GitHub Release
|
- name: Create GitHub Release
|
||||||
env:
|
uses: softprops/action-gh-release@v2
|
||||||
GH_TOKEN: ${{ github.token }}
|
with:
|
||||||
run: |
|
tag_name: v${{ inputs.version }}
|
||||||
VERSION="${{ inputs.version }}"
|
name: v${{ inputs.version }}
|
||||||
gh release create "v${VERSION}" "${{ env.TARBALL }}" \
|
generate_release_notes: true
|
||||||
--title "v${VERSION}" \
|
files: ${{ env.TARBALL }}
|
||||||
--generate-notes
|
|
||||||
|
|||||||
Reference in New Issue
Block a user