Update build workflow to use JDK 1.17 #357
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Android CI | |
on: | |
push: | |
branches: | |
- '**' | |
pull_request: | |
branches: | |
- '**' | |
jobs: | |
build: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: set up JDK 1.17 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
- name: Android Emulator Runner | |
uses: ReactiveCircus/[email protected] | |
with: | |
api-level: 29 | |
script: ./gradlew clean build connectedCheck jacocoFullReport | |
- uses: codecov/[email protected] | |
with: | |
files: ./build/reports/jacoco/jacocoFullReport.xml | |
fail_ci_if_error: false | |
verbose: true |