mirror of
https://github.com/actions/runner-images.git
synced 2026-01-08 19:54:43 +08:00
[macOS] Switch android tools installation to use cmdline-tools' sdkmanager (#3686)
* Switch android installation to use cmdline-tools * Switch android-toolsets and xamarin-android-ndk to use new sdkmanager * Remove cmdline-tools installation from toolset as it's installed * Remove redundant steps with warning prevention * Remove hardcoded licenses as they are accepted during the installation * Add tests to check that both sdkmanagers are available * Simplify Get-AndroidInstalledPackages function to use list_installed * Change regex pattern to output the group * Currently the function returns 4. instead of 4.0, this change fixes it
This commit is contained in:
@@ -164,8 +164,7 @@
|
||||
],
|
||||
"additional-tools": [
|
||||
"cmake;3.10.2.4988404",
|
||||
"cmake;3.18.1",
|
||||
"cmdline-tools;latest"
|
||||
"cmake;3.18.1"
|
||||
],
|
||||
"ndk": {
|
||||
"lts": "21",
|
||||
|
||||
Reference in New Issue
Block a user