|
@@ -18,7 +18,7 @@ function run() {
|
18
|
18
|
const headless$ = android ? headless ? `--headless` : `` : ``;
|
19
|
19
|
const workers = multi ? 3 : 1;
|
20
|
20
|
|
21
|
|
- if (platform === 'android') {
|
|
21
|
+ if (platform === 'android' && process.env.CI) {
|
22
|
22
|
const sdkmanager = '/usr/local/share/android-sdk/tools/bin/sdkmanager';
|
23
|
23
|
exec.execSync(`echo y | ${sdkmanager} --update && echo y | ${sdkmanager} --licenses`);
|
24
|
24
|
}
|