From 8435d7399b94408d0c8dd4e0c2a09e1a66bc97f4 Mon Sep 17 00:00:00 2001 From: Maksim An Date: Fri, 22 Mar 2024 15:55:48 -0700 Subject: [PATCH] fix: move permissions to the correct job The permissions block should be under `create_release` job, rather than `build`. Signed-off-by: Maksim An --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5632a24e17..8a1051dd82 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,8 +9,6 @@ env: jobs: build: - permissions: - contents: write runs-on: "windows-2019" steps: - uses: actions/checkout@v4 @@ -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