Skip to content

Commit bee5ac3

Browse files
Update cmdline-tools to 11.0 (latest)
1 parent 26c86ac commit bee5ac3

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
![Build & Test](https://github.com/android-actions/setup-android/workflows/Build%20&%20Test/badge.svg)
44

55
This action sets up the Android SDK tools by:
6-
- Downloading the SDK commandline tools, if the current version (9.0) is not found in either `$ANDROID_SDK_ROOT` or `$HOME/.android/sdk`.
6+
- Downloading the SDK commandline tools, if the current version (11.0) is not found in either `$ANDROID_SDK_ROOT` or `$HOME/.android/sdk`.
77
- Accepting the SDK licenses.
88
- Installing `tools` and `platform-tools`.
9-
- Adding `platform-tools` (contains adb) and `cmdline-tools/9.0/bin` (contains sdkmanager) to `$PATH`.
9+
- Adding `platform-tools` (contains adb) and `cmdline-tools/11.0/bin` (contains sdkmanager) to `$PATH`.
1010
- Setting up problem [matchers](/matchers.json).
1111

1212
On Windows 2016 runners, this action also checks if `$ANDROID_SDK_ROOT` path contains spaces.

dist/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9696,8 +9696,8 @@ const path = __importStar(__nccwpck_require__(1017));
96969696
const fs = __importStar(__nccwpck_require__(7147));
96979697
const fse = __importStar(__nccwpck_require__(5630));
96989698
const os = __importStar(__nccwpck_require__(2037));
9699-
const CMDLINE_TOOLS_VERSION = '9.0';
9700-
const COMMANDLINE_TOOLS_VERSION = '9477386';
9699+
const CMDLINE_TOOLS_VERSION = '11.0';
9700+
const COMMANDLINE_TOOLS_VERSION = '10406996';
97019701
const COMMANDLINE_TOOLS_WIN_URL = `https://dl.google.com/android/repository/commandlinetools-win-${COMMANDLINE_TOOLS_VERSION}_latest.zip`;
97029702
const COMMANDLINE_TOOLS_MAC_URL = `https://dl.google.com/android/repository/commandlinetools-mac-${COMMANDLINE_TOOLS_VERSION}_latest.zip`;
97039703
const COMMANDLINE_TOOLS_LIN_URL = `https://dl.google.com/android/repository/commandlinetools-linux-${COMMANDLINE_TOOLS_VERSION}_latest.zip`;

src/main.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import * as fs from 'fs'
66
import * as fse from 'fs-extra'
77
import * as os from 'os'
88

9-
const CMDLINE_TOOLS_VERSION = '9.0'
10-
const COMMANDLINE_TOOLS_VERSION = '9477386'
9+
const CMDLINE_TOOLS_VERSION = '11.0'
10+
const COMMANDLINE_TOOLS_VERSION = '10406996'
1111

1212
const COMMANDLINE_TOOLS_WIN_URL = `https://dl.google.com/android/repository/commandlinetools-win-${COMMANDLINE_TOOLS_VERSION}_latest.zip`
1313
const COMMANDLINE_TOOLS_MAC_URL = `https://dl.google.com/android/repository/commandlinetools-mac-${COMMANDLINE_TOOLS_VERSION}_latest.zip`

0 commit comments

Comments
 (0)