From 4133bb1d72a0599b07fbe51c05e36f43b86730a6 Mon Sep 17 00:00:00 2001 From: William Brawner Date: Fri, 29 Sep 2023 08:29:23 -0600 Subject: [PATCH] Fix CI workflow --- .github/workflows/android.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 16261d5..6ce798b 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -6,9 +6,9 @@ on: branches: [ main ] jobs: - build: + validate: runs-on: ubuntu-latest - name: Build + name: Validate steps: - uses: actions/checkout@v2 - name: set up JDK @@ -18,15 +18,11 @@ jobs: java-version: '17' - name: Validate Gradle Wrapper uses: gradle/wrapper-validation-action@v1 - - name: Build with Gradle - uses: gradle/gradle-build-action@v2 - with: - arguments: assemblePlayDebug assemblePlayDebugAndroidTest unit_test: name: Run Unit Tests runs-on: ubuntu-latest needs: - - build + - validate steps: - uses: actions/checkout@v2 - name: set up JDK @@ -42,7 +38,7 @@ jobs: runs-on: ubuntu-latest name: Run UI Tests needs: - - build + - validate steps: - uses: actions/checkout@v2 - name: set up JDK @@ -50,6 +46,10 @@ jobs: with: distribution: 'zulu' java-version: '17' + - name: Build with Gradle + uses: gradle/gradle-build-action@v2 + with: + arguments: assemblePlayDebug assemblePlayDebugAndroidTest - name: Grant execute permission for flank_auth.sh run: chmod +x flank_auth.sh - name: Add auth for flank