mirror of
https://github.com/android-actions/setup-android
synced 2024-11-22 13:29:35 -08:00
switch to building streetcomplete for run-test
This commit is contained in:
parent
668f98f7ee
commit
1b0d4d0266
1 changed files with 12 additions and 4 deletions
16
.github/workflows/run-test.yml
vendored
16
.github/workflows/run-test.yml
vendored
|
@ -22,18 +22,26 @@ jobs:
|
||||||
- macos-latest
|
- macos-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
path: setup-android
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
repository: westnordost/StreetComplete
|
||||||
|
path: streetcomplete
|
||||||
- name: Set up JDK 1.8
|
- name: Set up JDK 1.8
|
||||||
uses: actions/setup-java@v1
|
uses: actions/setup-java@v1
|
||||||
with:
|
with:
|
||||||
java-version: 1.8
|
java-version: 1.8
|
||||||
- name: Setup Android SDK
|
- name: Setup Android SDK
|
||||||
id: 'setup-android'
|
id: 'setup-android'
|
||||||
uses: ./
|
uses: ./setup-android/
|
||||||
- name: Run sdkmanager
|
- name: Run sdkmanager
|
||||||
if: runner.os != 'windows'
|
if: runner.os != 'windows'
|
||||||
run: |
|
run: |
|
||||||
sdkmanager --update
|
cd streetcomplete
|
||||||
- name: Run sdkmanager
|
./gradlew build
|
||||||
|
- name: Build streetcomplete (Windows)
|
||||||
if: runner.os == 'windows'
|
if: runner.os == 'windows'
|
||||||
run: |
|
run: |
|
||||||
sdkmanager.bat --update
|
cd streetcomplete
|
||||||
|
.\gradlew.bat build
|
||||||
|
|
Loading…
Reference in a new issue