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 <noreply@anthropic.com>
This commit is contained in:
@@ -110,10 +110,11 @@ jobs:
|
|||||||
git push origin main --tags
|
git push origin main --tags
|
||||||
|
|
||||||
- name: Create GitHub Release
|
- 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:
|
env:
|
||||||
GH_TOKEN: ${{ github.token }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
run: |
|
|
||||||
VERSION="${{ inputs.version }}"
|
|
||||||
gh release create "v${VERSION}" "${{ env.TARBALL }}" \
|
|
||||||
--title "v${VERSION}" \
|
|
||||||
--generate-notes
|
|
||||||
|
|||||||
Reference in New Issue
Block a user