Skip to content

Refactor the runtime Java selection #9

Refactor the runtime Java selection

Refactor the runtime Java selection #9

name: Compatibility Unit Tests (JDK-8)
on: [push, pull_request]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- name: Checkout Java Client
uses: actions/checkout@v3
- name: Set up JDK 8
uses: actions/setup-java@v3
with:
java-version: 8
distribution: 'temurin'
cache: 'gradle'
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: 11
distribution: 'temurin'
cache: 'gradle'
- name: Run Unit Test
run: ./gradlew clean unitTest -Druntime.java=8