Android SDK setup for GitHub Actions
Find a file
2022-08-03 15:03:16 +03:00
.github [CI] Remove macos-10.15, because it is deprecated 2022-08-03 13:39:25 +03: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 cmdline-tools version to 7.0 2022-08-03 15:03:16 +03:00
src Update cmdline-tools version to 7.0 2022-08-03 15:03:16 +03:00
.eslintignore Initial changes for setup-android 2020-07-14 17:41:00 +02:00
.eslintrc.json [ESLint] warn instead of error about English text in string literals 2022-04-22 06:24:03 +03: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 Update npm dependencies 2022-04-22 06:18:23 +03:00
package.json Update npm dependencies 2022-04-22 06:18:23 +03:00
README.md [CI][README.md] Update setup-java to v3 2022-04-22 05:44:03 +03:00
tsconfig.json tsconfig: set moduleResolution 2021-07-17 18:55:57 +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@v3

- name: Set up JDK 1.8
  uses: actions/setup-java@v3
  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