mirror of
https://github.com/actions/runner-images.git
synced 2025-12-18 15:57:17 +00:00
Fix Get-AndroidGoogleAPIsVersions function output (#3715)
* The current condition retrieves a system image android 27 for win16
This commit is contained in:
@@ -150,7 +150,7 @@ function Get-AndroidGoogleAPIsVersions {
|
|||||||
[object] $PackageInfo
|
[object] $PackageInfo
|
||||||
)
|
)
|
||||||
|
|
||||||
$versions = $packageInfo | Where-Object { $_ -Match "Google APIs" } | ForEach-Object {
|
$versions = $packageInfo | Where-Object { $_ -Match "addon-google_apis" } | ForEach-Object {
|
||||||
$packageInfoParts = Split-TableRowByColumns $_
|
$packageInfoParts = Split-TableRowByColumns $_
|
||||||
return $packageInfoParts[0].split(";")[1]
|
return $packageInfoParts[0].split(";")[1]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user