We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 84e9dcf commit a850d3cCopy full SHA for a850d3c
1 file changed
.github/workflows/release.yml
@@ -6,7 +6,7 @@ on:
6
workflow_dispatch:
7
8
permissions:
9
- contents: read
+ contents: write
10
actions: write
11
12
jobs:
@@ -47,9 +47,8 @@ jobs:
47
- name: Create Windows Archive
48
run: zip -r ${{ env.WINDOWS_DIR }}.zip ${{ env.WINDOWS_DIR }}
49
50
- - name: Upload Windows binary
+ - name: Publish to GitHub Releases
51
uses: softprops/action-gh-release@v1
52
with:
53
+ token: ${{ secrets.GITHUB_TOKEN }} # 使用内置 GITHUB_TOKEN
54
files: ${{ env.WINDOWS_DIR }}.zip
- env:
55
- GITHUB_TOKEN: ${{ secrets.NG_TOKEN }}
0 commit comments