This repository was archived by the owner on Aug 18, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +14
-6
lines changed Expand file tree Collapse file tree 2 files changed +14
-6
lines changed Original file line number Diff line number Diff line change 1717 types : [created] # 发布版本时触发
1818 workflow_dispatch : # 允许手动触发
1919
20+ # 添加权限设置
21+ permissions :
22+ contents : write
23+
2024env :
2125 CARGO_TERM_COLOR : always
2226
@@ -104,5 +108,5 @@ jobs:
104108 with :
105109 files : ${{ matrix.asset_name }}
106110 tag_name : ${{ github.ref_name }}
107- env :
108- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
111+ draft : false
112+ generate_release_notes : true
Original file line number Diff line number Diff line change 1616 tags :
1717 - ' v*'
1818
19+ # 添加权限设置
20+ permissions :
21+ contents : write
22+
1923env :
2024 CARGO_TERM_COLOR : always
2125
@@ -159,8 +163,8 @@ jobs:
159163 with :
160164 files : ${{ matrix.library }}-${{ matrix.os }}.${{ matrix.archive_format }}
161165 tag_name : ${{ github.ref_name }}
162- env :
163- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
166+ draft : false
167+ generate_release_notes : true
164168
165169 # 额外的工作以合并所有库为一个包
166170 package-all :
@@ -237,5 +241,5 @@ jobs:
237241 with :
238242 files : codenothing-all-libraries-${{ matrix.os }}.${{ matrix.archive_format }}
239243 tag_name : ${{ github.ref_name }}
240- env :
241- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
244+ draft : false
245+ generate_release_notes : true
You can’t perform that action at this time.
0 commit comments