[ci]Fix winget automation by overriding scope (#26230)

This commit is contained in:
Jaime Bernardo 2023-05-24 17:07:43 +01:00 committed by GitHub
parent e87de7d9fc
commit 675aac95d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,4 +28,4 @@ jobs:
# getting latest wingetcreate file
iwr https://aka.ms/wingetcreate/latest -OutFile wingetcreate.exe
.\wingetcreate.exe update $wingetPackage -s -v $ver -u $installerUserX64Url $installerMachineX64Url $installerUserArmUrl $installerMachineArmUrl -t $gitToken
.\wingetcreate.exe update $wingetPackage -s -v $ver -u "$installerUserX64Url|user" "$installerMachineX64Url|machine" "$installerUserArmUrl|user" "$installerMachineArmUrl|machine" -t $gitToken