Prepare for release 2.0.0.

This commit is contained in:
Yang Chen
2019-12-07 18:04:47 +11:00
parent 0d276b963a
commit 9d0dad93a2
2 changed files with 8 additions and 5 deletions
+5
View File
@@ -1,5 +1,10 @@
# Change Log
## v2.0.0
* Added action input `emulator-options` for providing command-line options used when launching the emulator. Default value is `-no-window -no-snapshot -noaudio -no-boot-anim`.
* Removed `headless` action input which is equivalent to specifying `-no-window` in the new `emulator-options` action input (included by default).
## v1.0.2
* Increased emulator boot timeout to **5 mins**.
+3 -5
View File
@@ -37,7 +37,7 @@ jobs:
fetch-depth: 1
- name: run tests
uses: reactivecircus/android-emulator-runner@v1
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 29
script: ./gradlew connectedCheck
@@ -60,7 +60,7 @@ jobs:
fetch-depth: 1
- name: run tests
uses: reactivecircus/android-emulator-runner@v1
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: ${{ matrix.api-level }}
target: ${{ matrix.target }}
@@ -81,6 +81,4 @@ jobs:
| `disable-animations` | Optional | `true` | Whether to disable animations - `true` or `false`. |
| `script` | Required | N/A | Custom script to run - e.g. to run Android instrumented tests on the emulator: `./gradlew connectedCheck` |
Default `emulator-options`:
`-no-window -no-snapshot -noaudio -no-boot-anim`
Default `emulator-options`: `-no-window -no-snapshot -noaudio -no-boot-anim`.