From 29ed57bdbd9b2bb28e40f16c97649b4fba0a1d58 Mon Sep 17 00:00:00 2001 From: Filipe PINTO Date: Thu, 29 Aug 2024 11:28:58 +0200 Subject: [PATCH] Use GITHUB_TOKEN for push-to-winget --- .github/workflows/extra-package.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/extra-package.yml b/.github/workflows/extra-package.yml index b2cb39298d1..2c1926e9bee 100644 --- a/.github/workflows/extra-package.yml +++ b/.github/workflows/extra-package.yml @@ -66,7 +66,7 @@ jobs: needs: check-release env: RELEASE_VERSION: ${{ github.event.inputs.set-release-version }} - WINGET_TOKEN: ${{ secrets.LEPAPAREIL_WINGET_TOKEN }} + GITHUB_TOKEN: ${{ secrets.LEPAPAREIL_WINGET_TOKEN }} name: Push to winget runs-on: windows-latest steps: @@ -79,7 +79,7 @@ jobs: run: | Invoke-WebRequest https://aka.ms/wingetcreate/latest -OutFile .\wingetcreate.exe .\wingetcreate.exe version - .\bin\release\push_package_to_winget.ps1 "$env:RELEASE_VERSION" "$env:LEPAPAREIL_WINGET_TOKEN" + .\bin\release\push_package_to_winget.ps1 "$env:RELEASE_VERSION" "$env:GITHUB_TOKEN" package-generic-linux-aarch64: if: github.event.inputs.package-generic-linux-aarch64 == 'true'