From 4d64c5e6fa452581fa7db8b3023673ffb5829b62 Mon Sep 17 00:00:00 2001 From: Adam from Buildjet <81020469+thinkafterbefore@users.noreply.github.com> Date: Tue, 12 Jul 2022 14:49:13 +0200 Subject: [PATCH 1/4] Update documentation (#255) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1ebb922cd..c7d3a8f17 100644 --- a/README.md +++ b/README.md @@ -152,7 +152,7 @@ jobs: | `emulator-options` | Optional | See below | Command-line options used when launching the emulator (replacing all default options) - e.g. `-no-window -no-snapshot -camera-back emulated`. | | `disable-animations` | Optional | `true` | Whether to disable animations - `true` or `false`. | | `disable-spellchecker` | Optional | `false` | Whether to disable spellchecker - `true` or `false`. | -| `disable-linux-hw-accel` | Optional | `true` | Whether to disable hardware acceleration on Linux machines - `true` or `false`. Note that this is true by default as Github-hosted Linux runners do not support hardware acceleration. | +| `disable-linux-hw-accel` | Optional | `auto` | Whether to disable hardware acceleration on Linux machines - `true`, `false` or `auto`.| | `enable-hw-keyboard` | Optional | `false` | Whether to enable hardware keyboard - `true` or `false`. | | `emulator-build` | Optional | N/A | Build number of a specific version of the emulator binary to use e.g. `6061023` for emulator v29.3.0.0. | | `working-directory` | Optional | `./` | A custom working directory - e.g. `./android` if your root Gradle project is under the `./android` sub-directory within your repository. | From a410b40679583e6c48709e28b6aae2c9e335b90e Mon Sep 17 00:00:00 2001 From: Leonardo Colman Date: Sat, 13 Aug 2022 21:22:48 -0300 Subject: [PATCH 2/4] Add action types (#257) --- .github/workflows/action-types.yml | 13 ++++++ action-types.yml | 64 ++++++++++++++++++++++++++++++ 2 files changed, 77 insertions(+) create mode 100644 .github/workflows/action-types.yml create mode 100644 action-types.yml diff --git a/.github/workflows/action-types.yml b/.github/workflows/action-types.yml new file mode 100644 index 000000000..90f969154 --- /dev/null +++ b/.github/workflows/action-types.yml @@ -0,0 +1,13 @@ +name: Validate action typings + +on: + push: + pull_request: + workflow_dispatch: + +jobs: + validate-typings: + runs-on: "ubuntu-latest" + steps: + - uses: actions/checkout@v3 + - uses: krzema12/github-actions-typing@v0 diff --git a/action-types.yml b/action-types.yml new file mode 100644 index 000000000..6299ab960 --- /dev/null +++ b/action-types.yml @@ -0,0 +1,64 @@ +inputs: + api-level: + type: integer + target: + type: enum + allowed-values: + - default + - google_apis + - google_apis_playstore + - aosp_atd + - google_atd + - android-wear + - android-wear-cn + - android-tv + - google-tv + arch: + type: enum + allowed-values: + - x86 + - x86_64 + - arm64-v8a + profile: + type: string + cores: + type: integer + ram-size: + type: string + heap-size: + type: string + sdcard-path-or-size: + type: string + disk-size: + type: string + avd-name: + type: string + force-avd-creation: + type: boolean + emulator-options: + type: string + disable-animations: + type: boolean + disable-spellchecker: + type: boolean + disable-linux-hw-accel: + type: string + enable-hw-keyboard: + type: boolean + emulator-build: + type: string + working-directory: + type: string + ndk: + type: string + cmake: + type: string + channel: + type: enum + allowed-values: + - stable + - beta + - dev + - canary + script: + type: string From 9559a79fb8a5544b8b8681a9444a981c085ac29a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 13 Sep 2022 09:13:19 +1000 Subject: [PATCH 3/4] Bump @actions/core from 1.6.0 to 1.9.1 (#262) --- package-lock.json | 51 ++++++++++++++++++++++++++++++++++++++--------- package.json | 2 +- 2 files changed, 43 insertions(+), 10 deletions(-) diff --git a/package-lock.json b/package-lock.json index 5ea042408..a2cbf9bd4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "0.0.0", "license": "MIT", "dependencies": { - "@actions/core": "^1.6.0", + "@actions/core": "^1.9.1", "@actions/exec": "^1.1.0", "@actions/tool-cache": "^1.7.1", "minimist": "^1.2.6", @@ -32,11 +32,28 @@ } }, "node_modules/@actions/core": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/@actions/core/-/core-1.6.0.tgz", - "integrity": "sha512-NB1UAZomZlCV/LmJqkLhNTqtKfFXJZAUPcfl/zqG7EfsQdeUJtaWO98SGbuQ3pydJ3fHl2CvI/51OKYlCYYcaw==", + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/@actions/core/-/core-1.9.1.tgz", + "integrity": "sha512-5ad+U2YGrmmiw6du20AQW5XuWo7UKN2052FjSV7MX+Wfjf8sCqcsZe62NfgHys4QI4/Y+vQvLKYL8jWtA1ZBTA==", "dependencies": { - "@actions/http-client": "^1.0.11" + "@actions/http-client": "^2.0.1", + "uuid": "^8.3.2" + } + }, + "node_modules/@actions/core/node_modules/@actions/http-client": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/@actions/http-client/-/http-client-2.0.1.tgz", + "integrity": "sha512-PIXiMVtz6VvyaRsGY268qvj57hXQEpsYogYOu2nrQhlf+XCGmZstmuZBbAybUl1nQGnvS1k1eEsQ69ZoD7xlSw==", + "dependencies": { + "tunnel": "^0.0.6" + } + }, + "node_modules/@actions/core/node_modules/uuid": { + "version": "8.3.2", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", + "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", + "bin": { + "uuid": "dist/bin/uuid" } }, "node_modules/@actions/exec": { @@ -10813,11 +10830,27 @@ }, "dependencies": { "@actions/core": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/@actions/core/-/core-1.6.0.tgz", - "integrity": "sha512-NB1UAZomZlCV/LmJqkLhNTqtKfFXJZAUPcfl/zqG7EfsQdeUJtaWO98SGbuQ3pydJ3fHl2CvI/51OKYlCYYcaw==", + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/@actions/core/-/core-1.9.1.tgz", + "integrity": "sha512-5ad+U2YGrmmiw6du20AQW5XuWo7UKN2052FjSV7MX+Wfjf8sCqcsZe62NfgHys4QI4/Y+vQvLKYL8jWtA1ZBTA==", "requires": { - "@actions/http-client": "^1.0.11" + "@actions/http-client": "^2.0.1", + "uuid": "^8.3.2" + }, + "dependencies": { + "@actions/http-client": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/@actions/http-client/-/http-client-2.0.1.tgz", + "integrity": "sha512-PIXiMVtz6VvyaRsGY268qvj57hXQEpsYogYOu2nrQhlf+XCGmZstmuZBbAybUl1nQGnvS1k1eEsQ69ZoD7xlSw==", + "requires": { + "tunnel": "^0.0.6" + } + }, + "uuid": { + "version": "8.3.2", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", + "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==" + } } }, "@actions/exec": { diff --git a/package.json b/package.json index 26ef20f1e..131be002b 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "author": "Reactive Circus", "license": "MIT", "dependencies": { - "@actions/core": "^1.6.0", + "@actions/core": "^1.9.1", "@actions/exec": "^1.1.0", "@actions/tool-cache": "^1.7.1", "minimist": "^1.2.6", From 6fd58f95fca234f6afffa070854b8c4c520b2d81 Mon Sep 17 00:00:00 2001 From: Yang Date: Tue, 20 Sep 2022 15:33:59 +1000 Subject: [PATCH 4/4] Prepare for release 2.26.0. --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 04aefc0d6..b20f833c7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Change Log +## v2.26.0 + +* Support [github-actions-typing](https://github.com/krzema12/github-actions-typing). - [#257](https://github.com/ReactiveCircus/android-emulator-runner/pull/257) @LeoColman. + ## v2.25.0 * Auto detect hardware acceleration on Linux. - [#254](https://github.com/ReactiveCircus/android-emulator-runner/pull/254) @notbigdata.