No description
Find a file
Laura 7506bcd002
[Issue #108] Overwrite CLI Tools (#115)
* Trying this

* Revert "Trying this"

This reverts commit 46eab8f218.

* Put exists check around tools move

* Remove directory before copying over it

* Reverted indent

* Revert additional two spaces
2021-03-03 00:02:20 +02:00
.github Actually try to install sdkmanager after each commit 2021-02-20 23:03:41 +01: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 [Issue #108] Overwrite CLI Tools (#115) 2021-03-03 00:02:20 +02:00
src [Issue #108] Overwrite CLI Tools (#115) 2021-03-03 00:02:20 +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 Add @types/fs-extra dev dependency 2021-02-20 23:06:23 +01:00
package.json Add @types/fs-extra dev dependency 2021-02-20 23:06:23 +01: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