mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-20 06:29:50 +00:00
[Mac OS] Remove hub utility (#8364)
This commit is contained in:
committed by
GitHub
parent
8cb738bb54
commit
2cbf4a7f93
@@ -14,9 +14,6 @@ git lfs install
|
||||
# Update system git config
|
||||
sudo git lfs install --system
|
||||
|
||||
echo Installing Hub
|
||||
brew_smart_install "hub"
|
||||
|
||||
echo Disable all the Git help messages...
|
||||
git config --global advice.pushUpdateRejected false
|
||||
git config --global advice.pushNonFFCurrent false
|
||||
|
||||
@@ -302,11 +302,6 @@ function Get-GitHubCLIVersion {
|
||||
return $ghVersion
|
||||
}
|
||||
|
||||
function Get-HubVersion {
|
||||
$hubVersion = Run-Command "brew list --versions hub" | Take-Part -Part 1
|
||||
return $hubVersion
|
||||
}
|
||||
|
||||
function Get-WgetVersion {
|
||||
$wgetVersion = Run-Command "wget --version" | Select-String "GNU Wget" | Take-Part -Part 2
|
||||
return $wgetVersion
|
||||
|
||||
@@ -123,7 +123,6 @@ if ($os.IsBigSur) {
|
||||
$utilities.AddToolVersion("helm", $(Get-HelmVersion))
|
||||
}
|
||||
if ((-not $os.IsVentura) -and (-not $os.IsVenturaArm64)) {
|
||||
$utilities.AddToolVersion("Hub CLI", $(Get-HubVersion))
|
||||
$utilities.AddToolVersion("ImageMagick", $(Get-ImageMagickVersion))
|
||||
}
|
||||
$utilities.AddToolVersion("jq", $(Get-JqVersion))
|
||||
|
||||
@@ -8,8 +8,3 @@ Describe "Git" {
|
||||
"git lfs version" | Should -ReturnZeroExitCode
|
||||
}
|
||||
}
|
||||
Describe "hub CLI" -Skip:($os.IsVentura -or $os.IsVenturaArm64) {
|
||||
It "hub CLI is installed" {
|
||||
"hub --version" | Should -ReturnZeroExitCode
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user