Skip to content

Commit

Permalink
发布作业添加写入权限
Browse files Browse the repository at this point in the history
  • Loading branch information
hwf1324 committed Mar 27, 2024
1 parent 3dc964f commit 2c417a6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,9 @@ jobs:
runs-on: ubuntu-latest
if: ${{ startsWith(github.ref, 'refs/tags/') }}
needs: build
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
name: NVDA_Lazy_Edition
Expand All @@ -254,5 +255,6 @@ jobs:
- name: Release
uses: softprops/action-gh-release@v2
with:
files: NVDA_Lazy_Edition/*
files: "*.zip"
fail_on_unmatched_files: true
prerelease: ${{ contains(github.ref, 'rc') }}

0 comments on commit 2c417a6

Please sign in to comment.