mirror of
https://github.com/android-actions/setup-android
synced 2024-11-22 05:29:34 -08:00
Fix path to sdkmanager
In the commandlinetools-${OS}-${TOOLS_VERSION}_latest.zip file, the name of the zipped folder has been changed.
This commit is contained in:
parent
72fdd2e74f
commit
ec68242df7
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ async function install(): Promise<string> {
|
||||||
if (process.platform === 'linux') {
|
if (process.platform === 'linux') {
|
||||||
const cmdlineToolsZip = await tc.downloadTool(COMMANDLINE_TOOLS_LIN_URL)
|
const cmdlineToolsZip = await tc.downloadTool(COMMANDLINE_TOOLS_LIN_URL)
|
||||||
const cmdlineTools = await tc.extractZip(cmdlineToolsZip)
|
const cmdlineTools = await tc.extractZip(cmdlineToolsZip)
|
||||||
sdkManager = path.join(cmdlineTools, 'tools', 'bin', 'sdkmanager')
|
sdkManager = path.join(cmdlineTools, 'cmdline-tools', 'bin', 'sdkmanager')
|
||||||
} else if (process.platform === 'darwin') {
|
} else if (process.platform === 'darwin') {
|
||||||
const cmdlineToolsZip = await tc.downloadTool(COMMANDLINE_TOOLS_MAC_URL)
|
const cmdlineToolsZip = await tc.downloadTool(COMMANDLINE_TOOLS_MAC_URL)
|
||||||
const cmdlineTools = await tc.extractZip(cmdlineToolsZip)
|
const cmdlineTools = await tc.extractZip(cmdlineToolsZip)
|
||||||
|
|
Loading…
Reference in a new issue