mirror of
https://github.com/actions/runner-images.git
synced 2025-12-16 14:47:08 +00:00
[Windows] Force Chocolatey to check packages hashes (#9020)
This commit is contained in:
@@ -32,7 +32,7 @@ function Install-ChocoPackage {
|
||||
$count = 1
|
||||
while ($true) {
|
||||
Write-Host "Running [#$count]: choco install $packageName -y $argumentList"
|
||||
choco install $packageName -y @argumentList --no-progress
|
||||
choco install $packageName -y @argumentList --no-progress --require-checksums
|
||||
|
||||
$pkg = choco list --localonly $packageName --exact --all --limitoutput
|
||||
if ($pkg) {
|
||||
|
||||
Reference in New Issue
Block a user