Skip to content

Include system JDK #912

Include system JDK

Include system JDK #912

Workflow file for this run

name: ci
on: [ push, pull_request ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ 17 ]
name: jdk-${{ matrix.java }}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-java@v3
with:
distribution: "temurin"
# Always include 21 as the system JDK
java-version: |
${{ matrix.java }}
21
cache: "maven"
- name: "Build"
run: mvn --batch-mode -no-transfer-progress -V verify
env:
JDK_JAVA_OPTIONS: --add-opens=java.base/java.lang=ALL-UNNAMED