mirror of
https://github.com/actions/runner-images.git
synced 2025-12-14 13:17:54 +00:00
[Ubuntu] Add Fastlane (#2751)
This commit is contained in:
@@ -102,7 +102,7 @@ function Get-GemVersion {
|
||||
$result = Get-CommandResult "gem --version"
|
||||
$result.Output -match "(?<version>\d+\.\d+\.\d+)" | Out-Null
|
||||
$gemVersion = $Matches.version
|
||||
return "Gem $gemVersion"
|
||||
return "RubyGems $gemVersion"
|
||||
}
|
||||
|
||||
function Get-MinicondaVersion {
|
||||
|
||||
@@ -144,6 +144,10 @@ if (-not (Test-IsUbuntu16)) {
|
||||
)
|
||||
}
|
||||
|
||||
if (Test-IsUbuntu20) {
|
||||
$toolsList += (Get-FastlaneVersion)
|
||||
}
|
||||
|
||||
$markdown += New-MDList -Style Unordered -Lines ($toolsList | Sort-Object)
|
||||
|
||||
$markdown += New-MDHeader "CLI Tools" -Level 3
|
||||
|
||||
@@ -264,6 +264,11 @@ function Get-AWSSAMVersion {
|
||||
return "AWS SAM CLI $(sam --version | Take-OutputPart -Part -1)"
|
||||
}
|
||||
|
||||
function Get-FastlaneVersion {
|
||||
$fastlaneVersion = fastlane --version | Select-String "^fastlane [0-9]" | Take-OutputPart -Part 1
|
||||
return "Fastlane $fastlaneVersion"
|
||||
}
|
||||
|
||||
function Get-HubCliVersion {
|
||||
$hubVersion = hub --version | Select-String "hub version" | Take-OutputPart -Part 2
|
||||
return "Hub CLI $hubVersion"
|
||||
|
||||
Reference in New Issue
Block a user