Add support for using google_apis_playstore system images.

This commit is contained in:
Yang
2020-10-16 14:10:25 +11:00
parent fd240e46a6
commit 53151f5236
10 changed files with 21 additions and 9 deletions
+1 -1
View File
@@ -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
View File
@@ -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}`);