mirror of
https://github.com/reactivecircus/android-emulator-runner.git
synced 2026-09-04 11:29:31 +00:00
Add support for using google_apis_playstore system images.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
export const MIN_API_LEVEL = 15;
|
||||
export const VALID_TARGETS: Array<string> = ['default', 'google_apis'];
|
||||
export const VALID_TARGETS: Array<string> = ['default', 'google_apis', 'google_apis_playstore'];
|
||||
export const VALID_ARCHS: Array<string> = ['x86', 'x86_64'];
|
||||
|
||||
export function checkApiLevel(apiLevel: string): void {
|
||||
|
||||
+2
-1
@@ -25,7 +25,8 @@ async function run() {
|
||||
console.log(`API level: ${apiLevel}`);
|
||||
|
||||
// target of the system image
|
||||
const target = core.getInput('target');
|
||||
const targetInput = core.getInput('target');
|
||||
const target = targetInput == 'playstore' ? 'google_apis_playstore' : targetInput;
|
||||
checkTarget(target);
|
||||
console.log(`target: ${target}`);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user