Fix CI workflow
This commit is contained in:
parent
51025d8181
commit
4133bb1d72
1 changed files with 8 additions and 8 deletions
16
.github/workflows/android.yml
vendored
16
.github/workflows/android.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue