mirror of
https://github.com/android-actions/setup-android.git
synced 2026-10-02 18:16:07 +03:00
Set --sdk_root for accepting licenses
This commit is contained in:
1 parent
023a8c2e99
commit
2381fc9bef
2 files changed
+6
-2
No files matched your search
+5
-1
@@ -49,7 +49,11 @@ export async function install(): Promise<void> {
|
||||
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(
|
||||
sdkManager,
|
||||
|
||||
Reference in new issue
Block a user