Android SDK setup for GitHub Actions
Find a file
dependabot[bot] 2469709471 Bump actions/setup-java from v1 to v2
Bumps [actions/setup-java](https://github.com/actions/setup-java) from v1 to v2.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v1...8764a52df183aa0ccea74521dfd9d506ffc7a19a)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-27 18:48:58 +02:00
.github Bump actions/setup-java from v1 to v2 2021-04-27 18:48:58 +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 Don't minify dist/index.js, ~150kb of added bloat. 2021-03-03 01:07:35 +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 Upgrade zeit/ncc to vercel/ncc. zeit/ncc is deprecated 2021-03-03 00:55:11 +02:00
package.json Don't minify dist/index.js, ~150kb of added bloat. 2021-03-03 01:07:35 +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