diff --git a/src/main.ts b/src/main.ts index 25f5790..d3ba90e 100644 --- a/src/main.ts +++ b/src/main.ts @@ -37,7 +37,7 @@ async function install(): Promise { 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)