Skip to content

Commit 957f974

Browse files
authored
发布作业添加写入权限 (#11)
1 parent e32ff26 commit 957f974

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/build.yaml

+4-2
Original file line numberDiff line numberDiff line change
@@ -244,8 +244,9 @@ jobs:
244244
runs-on: ubuntu-latest
245245
if: ${{ startsWith(github.ref, 'refs/tags/') }}
246246
needs: build
247+
permissions:
248+
contents: write
247249
steps:
248-
- uses: actions/checkout@v4
249250
- uses: actions/download-artifact@v4
250251
with:
251252
name: NVDA_Lazy_Edition
@@ -255,5 +256,6 @@ jobs:
255256
- name: Release
256257
uses: softprops/action-gh-release@v2
257258
with:
258-
files: NVDA_Lazy_Edition/*
259+
files: "*.zip"
260+
fail_on_unmatched_files: true
259261
prerelease: ${{ contains(github.ref, 'rc') }}

0 commit comments

Comments
 (0)