Skip to content

Update Github Action to JDK 17 'temurin' #64

Update Github Action to JDK 17 'temurin'

Update Github Action to JDK 17 'temurin' #64

Workflow file for this run

name: Build and check
on: [pull_request, push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: '17'
- name: Build the app
run: ./gradlew build
android_tests:
# see https://github.com/reactivecircus/android-emulator-runner,
# needs to run on macos as only there virtualization is available!
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: '11'
- name: Instrumentation Tests
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 26
script: ./gradlew connectedCheck