mirror of
https://github.com/android-actions/setup-android
synced 2024-11-22 13:29:35 -08:00
9e58d95cb5
These include - register ANDROID_SDK_ROOT - add some license hash handling
39 lines
842 B
YAML
39 lines
842 B
YAML
name: run-test
|
|
|
|
on:
|
|
pull_request:
|
|
paths-ignore:
|
|
- '**.md'
|
|
push:
|
|
branches:
|
|
- master
|
|
- releases/*
|
|
paths-ignore:
|
|
- '**.md'
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ${{ matrix.operating-system }}
|
|
strategy:
|
|
matrix:
|
|
operating-system:
|
|
- ubuntu-latest
|
|
- windows-latest
|
|
- macos-latest
|
|
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
|
|
id: 'setup-android'
|
|
uses: ./
|
|
- name: Run sdkmanager
|
|
if: runner.os != 'windows'
|
|
run: |
|
|
sdkmanager --update
|
|
- name: Run sdkmanager
|
|
if: runner.os == 'windows'
|
|
run: |
|
|
sdkmanager.bat --update
|