Update package-submissions.yml

This commit is contained in:
Clint Rutkas
2022-05-02 10:24:41 -07:00
committed by GitHub
parent f85e59c20c
commit cf0c8a2149

View File

@@ -15,7 +15,7 @@ jobs:
- name: Submit package to Windows Package Manager Community Repository
run: |
iwr https://aka.ms/wingetcreate/latest -OutFile wingetcreate.exe
$github = Get-Content '${{ github.event_path }}' | ConvertFrom-Json
$github = Invoke-RestMethod -uri "$($releases_url)"
Write-Output $github.release.assets
$installerUrl = $github.release.assets | Where-Object -Property name -match 'PowerToysSetup' | Select -ExpandProperty browser_download_url -First 1
$wingetPackage = "Microsoft.PowerToys"