diff --git a/.github/workflows/installer.yml b/.github/workflows/installer.yml index 55e2d06b..fba504c8 100644 --- a/.github/workflows/installer.yml +++ b/.github/workflows/installer.yml @@ -2,6 +2,8 @@ name: Create new installer on: release: types: [published] +env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} jobs: release: runs-on: windows-latest @@ -16,6 +18,5 @@ jobs: run: 'python3 make_release.py' - name: Upload artifact run: > - echo "${{ secrets.GITHUB_TOKEN }}" | gh auth login --with-token; gh release upload ${{ github.event.release.tag_name }} (Get-ChildItem Dist -File).FullName --clobber -R ${{ github.repository }};