We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c72b77 commit 0d160a7Copy full SHA for 0d160a7
2 files changed
.build-jdk17
.github/workflows/ci.yml
@@ -16,9 +16,19 @@ jobs:
16
- uses: actions/setup-java@v3
17
with:
18
distribution: "temurin"
19
- java-version: ${{ matrix.java }}
+ # The JDK listed last will be the default and what Maven runs with
20
+ # https://github.com/marketplace/actions/setup-java-jdk#install-multiple-jdks
21
+ java-version: |
22
+ ${{ matrix.java }}
23
+ 25
24
cache: "maven"
25
- name: "Build"
- run: mvn --batch-mode -no-transfer-progress -V verify
26
+ run: |
27
+ mvn \
28
+ --batch-mode \
29
+ -no-transfer-progress \
30
+ -V \
31
+ -Dproject.build.jdk.version=${{ matrix.java }} \
32
+ verify
33
env:
34
JDK_JAVA_OPTIONS: --add-opens=java.base/java.lang=ALL-UNNAMED
0 commit comments