mirror of
https://github.com/android-actions/setup-android.git
synced 2026-10-08 18:44:18 +03:00
Debug installing android sdk tools
This commit is contained in:
1 parent
64495f005b
commit
90244e0383
4 files changed
+7
-4
No files matched your search
@@ -26,6 +26,9 @@ export async function install(): Promise<void> {
|
||||
const cmdlineTools = await tc.extractZip(cmdlineToolsZip)
|
||||
const sdkManager = path.join(cmdlineTools, 'tools', 'sdkmanager')
|
||||
|
||||
console.log(fs.readdirSync(cmdlineTools))
|
||||
console.log(fs.existsSync(sdkManager))
|
||||
|
||||
exec.exec(
|
||||
sdkManager,
|
||||
['--include_obsolete', `--sdk_root=${ANDROID_SDK_ROOT}`, 'tools'],
|
||||
|
||||
Reference in new issue
Block a user