Skip to content

Commit

Permalink
ci: move permissions to release job
Browse files Browse the repository at this point in the history
  • Loading branch information
MeguminSama committed Nov 29, 2024
1 parent 9b7d1ec commit 3a1eee1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ jobs:

runs-on: ${{ matrix.platform }}

permissions:
contents: write

steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
Expand All @@ -31,6 +28,8 @@ jobs:
release:
needs: package
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Release
uses: svenstaro/[email protected]
Expand Down

0 comments on commit 3a1eee1

Please sign in to comment.