mirror of
https://github.com/actions/runner-images.git
synced 2026-01-06 01:59:46 +08:00
[Windows] Add signature validation (#8390)
This commit is contained in:
@@ -6,6 +6,8 @@
|
||||
# https://cloud.google.com/sdk/docs/downloads-interactive
|
||||
$googleCloudCLIInstaller = "https://dl.google.com/dl/cloudsdk/channels/rapid/GoogleCloudSDKInstaller.exe"
|
||||
$argumentList = @("/S", "/allusers", "/noreporting")
|
||||
Install-Binary -Url $googleCloudCLIInstaller -Name "GoogleCloudSDKInstaller.exe" -ArgumentList $argumentList
|
||||
$googleCloudCLISignatureThumbprint = "2673EA6CC23BEFFDA49AC715B121544098A1284C"
|
||||
|
||||
Install-Binary -Url $googleCloudCLIInstaller -Name "GoogleCloudSDKInstaller.exe" -ArgumentList $argumentList -ExpectedSignature $googleCloudCLISignatureThumbprint
|
||||
|
||||
Invoke-PesterTests -TestFile "Tools" -TestName "GoogleCloudCLI"
|
||||
|
||||
Reference in New Issue
Block a user