Skip to content

Commit

Permalink
Use GITHUB_TOKEN for push-to-winget
Browse files Browse the repository at this point in the history
  • Loading branch information
lepapareil authored Aug 29, 2024
1 parent bfceed7 commit 29ed57b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/extra-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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'
Expand Down

0 comments on commit 29ed57b

Please sign in to comment.