mirror of
https://github.com/actions/runner-images.git
synced 2025-12-25 19:11:28 +08:00
[Windows] Remove hub utility (#8365)
This commit is contained in:
committed by
GitHub
parent
f05152105f
commit
9f764f7429
@@ -232,12 +232,6 @@ function Get-CloudFoundryVersion {
|
||||
return $cfVersion
|
||||
}
|
||||
|
||||
function Get-HubVersion {
|
||||
($(hub version) | Select-String -Pattern "hub version") -match "hub version (?<version>\d+\.\d+\.\d+)" | Out-Null
|
||||
$hubVersion = $Matches.Version
|
||||
return $hubVersion
|
||||
}
|
||||
|
||||
function Get-7zipVersion {
|
||||
(7z | Out-String) -match "7-Zip (?<version>\d+\.\d+\.?\d*)" | Out-Null
|
||||
$version = $Matches.Version
|
||||
|
||||
Reference in New Issue
Block a user