diff --git a/CHANGELOG.md b/CHANGELOG.md index 2875d780..b92d18a0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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**. diff --git a/README.md b/README.md index d389b7db..e63cec2f 100644 --- a/README.md +++ b/README.md @@ -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`.