Android SDK setup for GitHub Actions
Find a file
2020-08-17 19:53:06 +02:00
.github Update workflows 2020-08-11 19:44:45 +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 Update build 2020-08-11 20:31:45 +02:00
src fix linting 2020-08-11 19:59:48 +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 Cleanup action.yml 2020-08-11 17:40:16 +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
package-lock.json Bump @types/jest from 26.0.9 to 26.0.10 2020-08-17 19:53:06 +02:00
package.json Bump @types/jest from 26.0.9 to 26.0.10 2020-08-17 19:53:06 +02:00
README.md Update README.md 2020-08-17 19:44:06 +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@v1

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

Thanks

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