From 1b0d4d0266ca0ede778c63a0934b06e48492cfac Mon Sep 17 00:00:00 2001 From: Dave Olsthoorn Date: Tue, 14 Jul 2020 22:31:46 +0200 Subject: [PATCH] switch to building streetcomplete for run-test --- .github/workflows/run-test.yml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/workflows/run-test.yml b/.github/workflows/run-test.yml index de71682..08bf902 100644 --- a/.github/workflows/run-test.yml +++ b/.github/workflows/run-test.yml @@ -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