Skip to content

Commit

Permalink
Update commandlinetools version to 9.0 (latest)
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonMarquis authored and ViliusSutkus89 committed Sep 24, 2023
1 parent 7c56723 commit 899d70e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 (7.0) is not found in either `$ANDROID_SDK_ROOT` or `$HOME/.android/sdk`.
- Downloading the SDK commandline tools, if the current version (9.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/7.0/bin` (contains sdkmanager) to `$PATH`.
- Adding `platform-tools` (contains adb) and `cmdline-tools/9.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.
Expand Down
4 changes: 2 additions & 2 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = '7.0';
const COMMANDLINE_TOOLS_VERSION = '8512546';
const CMDLINE_TOOLS_VERSION = '9.0';
const COMMANDLINE_TOOLS_VERSION = '9477386';
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`;
Expand Down
4 changes: 2 additions & 2 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import * as fs from 'fs'
import * as fse from 'fs-extra'
import * as os from 'os'

const CMDLINE_TOOLS_VERSION = '7.0'
const COMMANDLINE_TOOLS_VERSION = '8512546'
const CMDLINE_TOOLS_VERSION = '9.0'
const COMMANDLINE_TOOLS_VERSION = '9477386'

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`
Expand Down

0 comments on commit 899d70e

Please sign in to comment.