Skip to content

Use "release" option to fix Java 8 binary compatibility #630

Use "release" option to fix Java 8 binary compatibility

Use "release" option to fix Java 8 binary compatibility #630

Workflow file for this run

name: build
on:
push:
branches: [ master ]
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java-version: [ 8, 11, 17, 21 ]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
# The target JDK is used to build, the latest one to run Gradle itself
java-version: |
${{ matrix.java-version }}
21
- run: ./gradlew assemble check --info
env:
JAVA_TOOLCHAIN: ${{ matrix.java-version }}