diff --git a/.github/workflows/build-and-release.yml b/.github/workflows/build-and-release.yml index a1a5150..97dfd60 100644 --- a/.github/workflows/build-and-release.yml +++ b/.github/workflows/build-and-release.yml @@ -8,6 +8,8 @@ on: jobs: release: runs-on: windows-latest + env: + GH_TOKEN: ${{ secrets.GH_TOKEN }} steps: - name: Checkout repository @@ -69,7 +71,3 @@ jobs: $ghArgs += $filePathsArray gh @ghArgs shell: pwsh - env: - GH_TOKEN: ${{ secrets.GH_TOKEN }} - -