Add support for configuring hardware profile and running custom script.

This commit is contained in:
Yang Chen
2019-11-08 19:51:51 +11:00
parent 34df1eaf0e
commit 0f9b17b151
12 changed files with 150 additions and 81 deletions
+7 -2
View File
@@ -11,15 +11,20 @@ inputs:
target:
description: 'target of the system image - default or google_apis'
default: 'default'
abi:
description: 'CPU / ABI of the system image - x86 or x86_64'
arch:
description: 'CPU architecture of the system image - x86 or x86_64'
default: 'x86'
profile:
description: 'Hardware profile used for creating the AVD - e.g. `Nexus 6`.'
headless:
description: 'whether to launch emulator in without UI - true or false'
default: 'true'
disable-animations:
description: 'whether to disable animations - true or false'
default: 'true'
script:
description: 'custom script to run - e.g. `./gradlew connectedCheck`'
required: true
runs:
using: 'node12'
main: 'lib/main.js'