switch to building streetcomplete for run-test

This commit is contained in:
Dave Olsthoorn 2020-07-14 22:31:46 +02:00
parent 668f98f7ee
commit 1b0d4d0266

View file

@ -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