feat: add publish step to release workflow for draft releases

This commit is contained in:
t8y2 2026-05-04 23:22:18 +08:00
parent 0d6892bae2
commit 830f18bef4
1 changed files with 9 additions and 0 deletions

View File

@ -106,3 +106,12 @@ jobs:
releaseDraft: true
prerelease: false
args: --target ${{ matrix.target }}
publish:
needs: build
runs-on: ubuntu-latest
steps:
- name: Publish draft release
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh release edit ${{ github.ref_name }} --repo ${{ github.repository }} --draft=false