mirror of
https://github.com/android-actions/setup-android.git
synced 2024-11-23 18:12:03 +00:00
Update cmdline-tools to 11.0 (latest)
This commit is contained in:
parent
26c86ac3f5
commit
bee5ac3f90
3 changed files with 6 additions and 6 deletions
|
@ -3,10 +3,10 @@
|
|||
![Build & Test](https://github.com/android-actions/setup-android/workflows/Build%20&%20Test/badge.svg)
|
||||
|
||||
This action sets up the Android SDK tools by:
|
||||
- Downloading the SDK commandline tools, if the current version (9.0) is not found in either `$ANDROID_SDK_ROOT` or `$HOME/.android/sdk`.
|
||||
- Downloading the SDK commandline tools, if the current version (11.0) is not found in either `$ANDROID_SDK_ROOT` or `$HOME/.android/sdk`.
|
||||
- Accepting the SDK licenses.
|
||||
- Installing `tools` and `platform-tools`.
|
||||
- Adding `platform-tools` (contains adb) and `cmdline-tools/9.0/bin` (contains sdkmanager) to `$PATH`.
|
||||
- Adding `platform-tools` (contains adb) and `cmdline-tools/11.0/bin` (contains sdkmanager) to `$PATH`.
|
||||
- Setting up problem [matchers](/matchers.json).
|
||||
|
||||
On Windows 2016 runners, this action also checks if `$ANDROID_SDK_ROOT` path contains spaces.
|
||||
|
|
4
dist/index.js
vendored
4
dist/index.js
vendored
|
@ -9696,8 +9696,8 @@ const path = __importStar(__nccwpck_require__(1017));
|
|||
const fs = __importStar(__nccwpck_require__(7147));
|
||||
const fse = __importStar(__nccwpck_require__(5630));
|
||||
const os = __importStar(__nccwpck_require__(2037));
|
||||
const CMDLINE_TOOLS_VERSION = '9.0';
|
||||
const COMMANDLINE_TOOLS_VERSION = '9477386';
|
||||
const CMDLINE_TOOLS_VERSION = '11.0';
|
||||
const COMMANDLINE_TOOLS_VERSION = '10406996';
|
||||
const COMMANDLINE_TOOLS_WIN_URL = `https://dl.google.com/android/repository/commandlinetools-win-${COMMANDLINE_TOOLS_VERSION}_latest.zip`;
|
||||
const COMMANDLINE_TOOLS_MAC_URL = `https://dl.google.com/android/repository/commandlinetools-mac-${COMMANDLINE_TOOLS_VERSION}_latest.zip`;
|
||||
const COMMANDLINE_TOOLS_LIN_URL = `https://dl.google.com/android/repository/commandlinetools-linux-${COMMANDLINE_TOOLS_VERSION}_latest.zip`;
|
||||
|
|
|
@ -6,8 +6,8 @@ import * as fs from 'fs'
|
|||
import * as fse from 'fs-extra'
|
||||
import * as os from 'os'
|
||||
|
||||
const CMDLINE_TOOLS_VERSION = '9.0'
|
||||
const COMMANDLINE_TOOLS_VERSION = '9477386'
|
||||
const CMDLINE_TOOLS_VERSION = '11.0'
|
||||
const COMMANDLINE_TOOLS_VERSION = '10406996'
|
||||
|
||||
const COMMANDLINE_TOOLS_WIN_URL = `https://dl.google.com/android/repository/commandlinetools-win-${COMMANDLINE_TOOLS_VERSION}_latest.zip`
|
||||
const COMMANDLINE_TOOLS_MAC_URL = `https://dl.google.com/android/repository/commandlinetools-mac-${COMMANDLINE_TOOLS_VERSION}_latest.zip`
|
||||
|
|
Loading…
Reference in a new issue