mirror of
https://github.com/actions/runner-images.git
synced 2025-12-20 06:35:47 +00:00
[macos] Add Xcode command line tools version (#2205)
This commit is contained in:
@@ -194,6 +194,7 @@ $ghcUpVersion = Run-Command "ghcup --version" | Take-Part -Part 5
|
||||
$ghcVersion = Run-Command "ghc --version" | Take-Part -Part 7
|
||||
$cabalVersion = Run-Command "cabal --version" | Take-Part -Part 3
|
||||
$stackVersion = Run-Command "stack --version" | Take-Part -Part 1 | ForEach-Object {$_.replace(",","")}
|
||||
$xcodeVersion = Run-Command "pkgutil --pkg-info com.apple.pkg.CLTools_Executables" | Select -Index 1 | Take-Part -Part 1
|
||||
|
||||
$markdown += New-MDHeader "Tools" -Level 3
|
||||
$markdown += New-MDList -Style Unordered -NoNewLine -Lines @(
|
||||
@@ -204,7 +205,8 @@ $markdown += New-MDList -Style Unordered -NoNewLine -Lines @(
|
||||
"AWS CLI ${awsVersion}",
|
||||
"AWS SAM CLI ${awsSamVersion}",
|
||||
"AWS Session Manager CLI ${awsSessionManagerVersion}",
|
||||
"Aliyun CLI ${aliyunVersion}"
|
||||
"Aliyun CLI ${aliyunVersion}",
|
||||
"Xcode Command Line Tools ${xcodeVersion}"
|
||||
)
|
||||
|
||||
if( -not $os.IsHighSierra) {
|
||||
|
||||
Reference in New Issue
Block a user