mirror of
https://gitea.com/actions/setup-android.git
synced 2025-12-12 03:16:54 +00: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:
committed by
Dave Olsthoorn
parent
6ef7c7f726
commit
7b2dad077d
@@ -37,7 +37,7 @@ async function install(): Promise<string> {
|
||||
if (process.platform === 'linux') {
|
||||
const cmdlineToolsZip = await tc.downloadTool(COMMANDLINE_TOOLS_LIN_URL)
|
||||
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') {
|
||||
const cmdlineToolsZip = await tc.downloadTool(COMMANDLINE_TOOLS_MAC_URL)
|
||||
const cmdlineTools = await tc.extractZip(cmdlineToolsZip)
|
||||
|
||||
Reference in New Issue
Block a user