mirror of
https://github.com/android-actions/setup-android
synced 2024-11-22 05:29:34 -08:00
Actually try to install sdkmanager after each commit
This commit is contained in:
parent
8c02e1fcfa
commit
1edf194eee
2 changed files with 23 additions and 23 deletions
22
.github/workflows/build-test.yml
vendored
22
.github/workflows/build-test.yml
vendored
|
@ -54,6 +54,28 @@ jobs:
|
|||
|
||||
- run: npm test
|
||||
|
||||
runSdkManager:
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [ ubuntu-16.04, ubuntu-18.04, ubuntu-20.04, macos-10.15, windows-2016, windows-2019 ]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Setup node 12
|
||||
uses: actions/setup-node@v2.1.4
|
||||
with:
|
||||
node-version: '12'
|
||||
|
||||
- run: npm ci
|
||||
- run: npm run build
|
||||
|
||||
- run: node dist/index.js
|
||||
|
||||
- run: sdkmanager --list
|
||||
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
|
24
.github/workflows/run.yml
vendored
24
.github/workflows/run.yml
vendored
|
@ -14,29 +14,7 @@ on:
|
|||
- '.github/*.json'
|
||||
|
||||
jobs:
|
||||
runSdkManager:
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [ ubuntu-16.04, ubuntu-18.04, ubuntu-20.04, macos-10.15, windows-2016, windows-2019 ]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Setup node 12
|
||||
uses: actions/setup-node@v2.1.4
|
||||
with:
|
||||
node-version: '12'
|
||||
|
||||
- run: npm ci
|
||||
- run: npm run build
|
||||
|
||||
- run: node dist/index.js
|
||||
|
||||
- run: sdkmanager --list
|
||||
|
||||
buildSampleApplication:
|
||||
build:
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
|
|
Loading…
Reference in a new issue