From ca56fcac34a0d62e387a9a54c1f27b8256bda655 Mon Sep 17 00:00:00 2001 From: DarkFighterLuke Date: Tue, 7 May 2024 15:04:36 +0200 Subject: [PATCH] Give write permission to upload --- .github/workflows/build.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 2413731..a821a63 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -10,6 +10,8 @@ jobs: build: runs-on: ubuntu-latest name: Build & Release + upload.permissions: + contents: write steps: - name: Checkout @@ -40,9 +42,9 @@ jobs: dotnet-target: net6.0 version: ${VERSION} - - name: Upload Release uses: svenstaro/upload-release-action@v2 + id: upload with: repo_token: ${{ secrets.GITHUB_TOKEN }} file: ${{ steps.jprm.outputs.artifact }}