mirror of
https://github.com/actions/runner-images.git
synced 2026-01-01 06:48:14 +08:00
Rename Google Cloud SDK to CLI (#8335)
This commit is contained in:
committed by
GitHub
parent
efb0feba5e
commit
601b21b1a6
@@ -78,7 +78,7 @@ $tools.AddToolVersion("ghc", $(Get-GHCVersion))
|
||||
$tools.AddToolVersion("Git", $(Get-GitVersion))
|
||||
$tools.AddToolVersion("Git LFS", $(Get-GitLFSVersion))
|
||||
if (Test-IsWin19) {
|
||||
$tools.AddToolVersion("Google Cloud SDK", $(Get-GoogleCloudSDKVersion))
|
||||
$tools.AddToolVersion("Google Cloud CLI", $(Get-GoogleCloudCLIVersion))
|
||||
}
|
||||
$tools.AddToolVersion("ImageMagick", $(Get-ImageMagickVersion))
|
||||
$tools.AddToolVersion("InnoSetup", $(Get-InnoSetupVersion))
|
||||
|
||||
@@ -262,7 +262,7 @@ function Get-StackVersion {
|
||||
return $stackVersion
|
||||
}
|
||||
|
||||
function Get-GoogleCloudSDKVersion {
|
||||
function Get-GoogleCloudCLIVersion {
|
||||
return (((cmd /c "gcloud --version") -match "Google Cloud SDK") -replace "Google Cloud SDK").Trim()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user