Skip to content

Commit

Permalink
fix: move permissions to the correct job (#2080) (#2081)
Browse files Browse the repository at this point in the history
The permissions block should be under `create_release` job, rather
than `build`.

Signed-off-by: Maksim An <maksiman@microsoft.com>
(cherry picked from commit 3eeba90)
  • Loading branch information
anmaxvl committed Mar 23, 2024
1 parent 6588c1c commit ad1ccf5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Expand Up @@ -9,8 +9,6 @@ env:

jobs:
build:
permissions:
contents: write
runs-on: "windows-2019"
steps:
- uses: actions/checkout@v4
Expand All @@ -34,6 +32,8 @@ jobs:
create_release:
needs: build
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Download artifacts
uses: actions/download-artifact@v4
Expand Down

0 comments on commit ad1ccf5

Please sign in to comment.