mirror of
https://github.com/actions/runner-images.git
synced 2025-12-11 11:37:00 +00:00
fix android and docker sections
This commit is contained in:
@@ -52,6 +52,10 @@ function Build-AndroidTable {
|
||||
"Package" = "Google APIs"
|
||||
"Version" = Get-AndroidGoogleAPIsVersions -PackageInfo $packageInfo
|
||||
},
|
||||
@{
|
||||
"Package" = "NDK"
|
||||
"Version" = Get-AndroidPackageVersions -PackageInfo $packageInfo -MatchedString "ndk-bundle"
|
||||
},
|
||||
@{
|
||||
"Package" = "Android Support Repository"
|
||||
"Version" = Get-AndroidPackageVersions -PackageInfo $packageInfo -MatchedString "Android Support Repository"
|
||||
@@ -71,16 +75,12 @@ function Build-AndroidTable {
|
||||
@{
|
||||
"Package" = "CMake"
|
||||
"Version" = Get-AndroidPackageVersions -PackageInfo $packageInfo -MatchedString "cmake"
|
||||
},
|
||||
@{
|
||||
"Package" = "NDK"
|
||||
"Version" = Get-AndroidPackageVersions -PackageInfo $packageInfo -MatchedString "ndk-bundle"
|
||||
}
|
||||
) | Where-Object { $_.Version } | ForEach-Object {
|
||||
[PSCustomObject] @{
|
||||
"Package Name" = $_.Package
|
||||
"Version" = $_.Version
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -109,7 +109,7 @@ function Get-AndroidPlatformVersions {
|
||||
$packageInfoParts = Split-TableRowByColumns $_
|
||||
$revision = $packageInfoParts[1]
|
||||
$version = $packageInfoParts[0].split(";")[1]
|
||||
return "$version, (rev $revision)"
|
||||
return "$version (rev $revision)"
|
||||
}
|
||||
[array]::Reverse($versions)
|
||||
return ($versions -Join "<br>")
|
||||
|
||||
@@ -79,8 +79,8 @@ $toolsList = @(
|
||||
(Get-BazeliskVersion),
|
||||
(Get-CMakeVersion),
|
||||
(Get-CurlVersion),
|
||||
(Get-DockerComposeVersion),
|
||||
(Get-DockerMobyVersion),
|
||||
(Get-DockerComposeVersion),
|
||||
(Get-DockerBuildxVersion),
|
||||
(Get-GitVersion),
|
||||
(Get-GitLFSVersion),
|
||||
|
||||
@@ -10,12 +10,12 @@ function Get-AnsibleVersion {
|
||||
|
||||
function Get-AzCopy7Version {
|
||||
$azcopy7Version = azcopy --version | Take-OutputPart -Part 1 | Take-OutputPart -Part 0 -Delimiter "-"
|
||||
return "AzCopy7 (available by azcopy alias) $azcopy7Version"
|
||||
return "AzCopy7 $azcopy7Version (available by ``azcopy`` alias)"
|
||||
}
|
||||
|
||||
function Get-AzCopy10Version {
|
||||
$azcopy10Version = azcopy10 --version | Take-OutputPart -Part 2
|
||||
return "AzCopy10 (available by azcopy10 alias) $azcopy10Version"
|
||||
return "AzCopy10 $azcopy10Version (available by ``azcopy10`` alias)"
|
||||
}
|
||||
|
||||
function Get-BazelVersion {
|
||||
|
||||
Reference in New Issue
Block a user