mirror of
https://github.com/clangd/clangd.git
synced 2025-04-21 08:03:00 +00:00
use gh for publishing release
This commit is contained in:
parent
72602a5f4d
commit
df6614bbff
9
.github/workflows/autobuild.yaml
vendored
9
.github/workflows/autobuild.yaml
vendored
@ -342,8 +342,7 @@ jobs:
|
|||||||
run: >
|
run: >
|
||||||
cat release/release.env >> $GITHUB_ENV
|
cat release/release.env >> $GITHUB_ENV
|
||||||
- name: Publish release
|
- name: Publish release
|
||||||
run: >
|
run: gh release edit ${{ env.TAG_NAME }} --draft=false
|
||||||
curl -XPATCH
|
env:
|
||||||
"-HAuthorization: Bearer ${{ secrets.RELEASE_TOKEN }}"
|
GH_TOKEN: ${{ secrets.RELEASE_TOKEN }}
|
||||||
"https://api.github.com/repos/${{ github.repository }}/releases/${{ env.RELEASE_ID }}"
|
GH_REPO: ${{ github.repository }}
|
||||||
"-d" '{"draft": false}'
|
|
||||||
|
Loading…
Reference in New Issue
Block a user