Add the -s parameter to submit package to winget in pipeline (#3767)

Co-authored-by: Alexandre Nedelec <Alexandre.Nedelec@azeo.com>
This commit is contained in:
TechWatching 2021-07-14 01:35:56 +02:00 committed by GitHub
parent 71f4ea9d76
commit 279329bfaa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -298,6 +298,6 @@ jobs:
$nushellVersion="${{ needs.release.outputs.version }}"
$nushellInstallerName="nu_$($nushellVersion -replace '\.','_')_windows.msi"
$installerUrl = "https://github.com/nushell/nushell/releases/download/$nushellVersion/$nushellInstallerName"
.\wingetcreate.exe update Nushell.Nushell -v $nushellVersion -u $installerUrl -t ${{ secrets.NUSHELL_PAT }}
.\wingetcreate.exe update Nushell.Nushell -s -v $nushellVersion -u $installerUrl -t ${{ secrets.NUSHELL_PAT }}