mirror of
https://github.com/android-actions/setup-android.git
synced 2024-11-23 18:12:03 +00:00
Android SDK setup for GitHub Actions
7506bcd002
* Trying this
* Revert "Trying this"
This reverts commit
|
||
---|---|---|
.github | ||
.vscode | ||
__tests__ | ||
dist | ||
src | ||
.eslintignore | ||
.eslintrc.json | ||
.gitignore | ||
.prettierignore | ||
.prettierrc.json | ||
action.yml | ||
jest.config.js | ||
LICENSE | ||
matchers.json | ||
package-lock.json | ||
package.json | ||
README.md | ||
tsconfig.json |
setup-android
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