File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -34,12 +34,17 @@ jobs:
3434
3535 - name : Create and push tag
3636 if : steps.tag_check.outputs.exists == 'false'
37+ env :
38+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3739 run : |
3840 git config user.name "github-actions[bot]"
3941 git config user.email "github-actions[bot]@users.noreply.github.com"
4042 git tag "v${{ steps.current.outputs.version }}"
4143 git push origin "v${{ steps.current.outputs.version }}"
4244 echo "Tagged v${{ steps.current.outputs.version }}"
45+ # GITHUB_TOKEN-pushed tags don't trigger other workflows.
46+ # Dispatch release.yml manually on the tag ref instead.
47+ gh workflow run release.yml --ref "v${{ steps.current.outputs.version }}"
4348
4449 - name : Skip (tag already exists)
4550 if : steps.tag_check.outputs.exists == 'true'
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ name: Release
22on :
33 push :
44 tags : ['v*']
5+ workflow_dispatch :
56
67jobs :
78 # ── Build platform binaries ──────────────────────────────────────────────
You can’t perform that action at this time.
0 commit comments