Optimize winget extra-package

This commit is contained in:
Filipe PINTO 2024-04-24 16:44:12 +02:00 committed by GitHub
parent 6f0d91eb88
commit 2a960aa605
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -71,13 +71,8 @@ jobs:
with:
fetch-depth: 1
ref: ${{ github.event.inputs.set-release-version }}
- name: Install winget
uses: Cyberboss/install-winget@v1
- name: Install wingetcreate
run: |
winget install wingetcreate --disable-interactivity --accept-source-agreements --silent
winget --info
wingetcreate 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"