mirror of
https://github.com/actions/runner-images.git
synced 2025-12-13 12:48:18 +00:00
add documentation
This commit is contained in:
@@ -99,6 +99,7 @@ $markdown += New-MDList -Style Unordered -Lines @(
|
||||
(Get-AzureDevopsExtVersion),
|
||||
(Get-AWSCLIVersion),
|
||||
(Get-AWSSAMVersion),
|
||||
(Get-AWSSessionManagerVersion),
|
||||
(Get-AlibabaCLIVersion),
|
||||
(Get-CloudFoundryVersion),
|
||||
(Get-HubVersion),
|
||||
|
||||
@@ -146,7 +146,7 @@ function Get-AzCopyVersion {
|
||||
}
|
||||
|
||||
function Get-AzureDevopsExtVersion {
|
||||
$azureDevExtVersion = (az version | ConvertFrom-Json | Foreach{ $_."extensions" })."azure-devops"
|
||||
$azureDevExtVersion = (az version | ConvertFrom-Json | ForEach-Object { $_."extensions" })."azure-devops"
|
||||
return "Azure DevOps CLI extension $azureDevExtVersion"
|
||||
}
|
||||
|
||||
@@ -162,6 +162,11 @@ function Get-AWSSAMVersion {
|
||||
return "AWS SAM CLI $awssamVersion"
|
||||
}
|
||||
|
||||
function Get-AWSSessionManagerVersion {
|
||||
$awsSessionManagerVersion = $(session-manager-plugin --version)
|
||||
return "AWS Session Manager CLI $awsSessionManagerVersion"
|
||||
}
|
||||
|
||||
function Get-AlibabaCLIVersion {
|
||||
$(aliyun --version | Select-String "Alibaba Cloud Command Line Interface") -match "(?<version>\d+\.\d+\.\d+)" | Out-Null
|
||||
$alicliVersion = $Matches.Version
|
||||
|
||||
Reference in New Issue
Block a user