Skip to content

Commit

Permalink
fix pat env
Browse files Browse the repository at this point in the history
  • Loading branch information
a-mnich committed Oct 28, 2024
1 parent 59daffc commit b436d91
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/rebuild-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ jobs:
runs-on: windows-latest
env:
WINGET_PKGS_FORK_REPO: ${{vars.WINGET_PKGS_FORK_REPO}}
WINGET_PAT: ${{secrets.WINGET_PAT}}
GITHUB_TOKEN: ${{ secrets.WINGET_PAT }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Trigger Mass Package Update
run: |
$fullPathFork = "$(Get-Location)"
$resolves = ${{ github.event.inputs.resolves }}
scripts/Update-AllPackageManifests.ps1 -PackageIdentifier ${{ github.event.inputs.PackageIdentifier }} -OutputDir $fullPathFork -Token ${{env.WINGET_PAT}} -Submit ${{ github.event.inputs.submit }} ( ![string]::IsNullOrWhitespace($resolves) ? "-Resolves $resolves" : $null )
scripts/Update-AllPackageManifests.ps1 -PackageIdentifier ${{ github.event.inputs.PackageIdentifier }} -OutputDir $fullPathFork -Token ${{env.GITHUB_TOKEN}} -Submit ${{ github.event.inputs.submit }} ( ![string]::IsNullOrWhitespace($resolves) ? "-Resolves $resolves" : $null )
- uses: actions/upload-artifact@v4
with:
name: manifests
Expand Down

0 comments on commit b436d91

Please sign in to comment.