mirror of
https://github.com/android-actions/setup-android.git
synced 2024-11-23 18:12:03 +00: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
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
path: setup-android
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
repository: westnordost/StreetComplete
|
||||
path: streetcomplete
|
||||
- name: Set up JDK 1.8
|
||||
uses: actions/setup-java@v1
|
||||
with:
|
||||
java-version: 1.8
|
||||
- name: Setup Android SDK
|
||||
id: 'setup-android'
|
||||
uses: ./
|
||||
uses: ./setup-android/
|
||||
- name: Run sdkmanager
|
||||
if: runner.os != 'windows'
|
||||
run: |
|
||||
sdkmanager --update
|
||||
- name: Run sdkmanager
|
||||
cd streetcomplete
|
||||
./gradlew build
|
||||
- name: Build streetcomplete (Windows)
|
||||
if: runner.os == 'windows'
|
||||
run: |
|
||||
sdkmanager.bat --update
|
||||
cd streetcomplete
|
||||
.\gradlew.bat build
|
||||
|
|
Loading…
Reference in a new issue