mirror of
https://gitea.com/actions/setup-android.git
synced 2025-12-13 11:57:18 +00:00
Set --sdk_root for accepting licenses
This commit is contained in:
2
dist/main/index.js
vendored
2
dist/main/index.js
vendored
File diff suppressed because one or more lines are too long
@@ -49,7 +49,11 @@ export async function install(): Promise<void> {
|
|||||||
core.error(`Unsupported platform: ${process.platform}`)
|
core.error(`Unsupported platform: ${process.platform}`)
|
||||||
}
|
}
|
||||||
|
|
||||||
exec.exec(sdkManager, ['--licenses'], {input: acceptBuffer})
|
await exec.exec(
|
||||||
|
sdkManager,
|
||||||
|
['--licenses', `--sdk_root=${ANDROID_SDK_ROOT}`],
|
||||||
|
{input: acceptBuffer}
|
||||||
|
)
|
||||||
|
|
||||||
exec.exec(
|
exec.exec(
|
||||||
sdkManager,
|
sdkManager,
|
||||||
|
|||||||
Reference in New Issue
Block a user