update android CI workflow java version
enable on all branches
This commit is contained in:
parent
2a67c74f57
commit
43458af11c
|
@ -2,9 +2,7 @@ name: Android CI
|
|||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
@ -13,9 +11,9 @@ jobs:
|
|||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: set up JDK 1.8
|
||||
uses: actions/setup-java@v1
|
||||
- uses: actions/setup-java@v2
|
||||
with:
|
||||
java-version: 1.8
|
||||
distribution: 'adopt'
|
||||
java-version: '11'
|
||||
- name: Build with Gradle
|
||||
run: ./gradlew build
|
||||
|
|
Loading…
Reference in New Issue