diff --git a/.github/workflows/extra-package.yml b/.github/workflows/extra-package.yml index 9778094a648..6ba4e7985ca 100644 --- a/.github/workflows/extra-package.yml +++ b/.github/workflows/extra-package.yml @@ -71,10 +71,9 @@ jobs: with: fetch-depth: 1 ref: fix/winget - - name: Install wingetcreate - run: | - Invoke-WebRequest https://aka.ms/wingetcreate/latest -OutFile wingetcreate.exe - wingetcreate.exe info - name: Push to winget - run: .\bin\release\push_package_to_winget.ps1 $env:RELEASE_VERSION $env:WINGET_TOKEN + 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:WINGET_TOKEN"