Android SDK setup for GitHub Actions
Find a file
dependabot[bot] 54a403b145 Bump @types/node from 14.17.5 to 16.3.3
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.17.5 to 16.3.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-17 18:14:13 +02:00
.github Bump actions/setup-node from 2.1.5 to 2.2.0 2021-07-17 18:06:56 +02:00
.vscode Make index.js executable 2020-01-03 21:20:26 +01:00
__tests__ Run prettier, to pass format-check 2020-08-11 19:25:29 +02:00
dist build: update build 2021-07-17 18:06:29 +02:00
src Comments about mkdir/rmdir 2021-03-03 00:43:22 +02:00
.eslintignore Initial changes for setup-android 2020-07-14 17:41:00 +02:00
.eslintrc.json fix linting 2020-08-11 19:59:48 +02:00
.gitignore Initial changes for setup-android 2020-07-14 17:41:00 +02:00
.prettierignore Initial changes for setup-android 2020-07-14 17:41:00 +02:00
.prettierrc.json Initial changes for setup-android 2020-07-14 17:41:00 +02:00
action.yml Changeup: consilidate code, drop cache, change download 2020-08-26 17:51:32 +02:00
jest.config.js Initial changes for setup-android 2020-07-14 17:41:00 +02:00
LICENSE Create LICENSE 2020-08-11 20:48:49 +02:00
matchers.json Move all matchers to a single file 2020-08-26 17:43:31 +02:00
package-lock.json Bump @types/node from 14.17.5 to 16.3.3 2021-07-17 18:14:13 +02:00
package.json Bump @types/node from 14.17.5 to 16.3.3 2021-07-17 18:14:13 +02:00
README.md Fix setup-android version in README.md 2020-09-15 17:47:48 +02:00
tsconfig.json Initial changes for setup-android 2020-07-14 17:41:00 +02:00

setup-android

Build & Test

This action sets up the Android SDK tools by:

  • Downloading the SDK commandline tools
  • Accepting the SDK licenses

Usage

See action.yml

Basic

steps:
- uses: actions/checkout@v2

- name: Set up JDK 1.8
  uses: actions/setup-java@v1
  with:
    java-version: 1.8

- name: Setup Android SDK
  uses: android-actions/setup-android@v2

- name: Build SampleApplication
  run: ./gradlew --no-daemon build

Thanks

Based on the project android-problem-matchers-action from @jonasb