Skip to content

Commit c3dbe50

Browse files
committed
Java 17 is now GA
AdoptOpenJDK is moved to Eclipse Adoptium. https://blog.adoptopenjdk.net/2021/08/goodbye-adoptopenjdk-hello-adoptium/ 18-ea is only available in zulu ATM
1 parent 0133e37 commit c3dbe50

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/ci.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ jobs:
2424
strategy:
2525
matrix:
2626
os: [ubuntu-latest, macOS-latest, windows-latest]
27-
java: [8, 11, 16, 17-ea]
28-
distribution: ['adopt']
27+
java: [8, 11, 16, 17, 18-ea]
28+
distribution: ['zulu']
2929
fail-fast: false
3030
max-parallel: 4
3131
name: Test JDK ${{ matrix.java }}, ${{ matrix.os }}
@@ -45,7 +45,7 @@ jobs:
4545
restore-keys: |
4646
${{ runner.os }}-m2
4747
- name: Set argLine command line option
48-
if: ${{ matrix.java != '8' }}
48+
if: ${{ matrix.java == '11' || matrix.java == '16' }}
4949
run: echo 'ARG_LINE=-D"argLine=--illegal-access=permit"' >> $GITHUB_ENV
5050
- name: Set env command line option
5151
if: ${{ matrix.os == 'ubuntu-latest' }}
@@ -54,8 +54,8 @@ jobs:
5454
if: ${{ matrix.os != 'windows-latest' }}
5555
run: ./mvnw test -B -D"license.skip=true" -D"jacoco.skip=true" $ENV_TRAVIS $ARG_LINE
5656
- name: Test with Maven
57-
if: ${{ matrix.os == 'windows-latest' && matrix.java == '8' }}
57+
if: ${{ matrix.os == 'windows-latest' && (matrix.java != '11' && matrix.java != '16')}}
5858
run: ./mvnw test -B -D"license.skip=true" -D"jacoco.skip=true"
5959
- name: Test with Maven
60-
if: ${{ matrix.os == 'windows-latest' && matrix.java != '8' }}
60+
if: ${{ matrix.os == 'windows-latest' && (matrix.java == '11' || matrix.java == '16') }}
6161
run: ./mvnw test -B -D"license.skip=true" -D"jacoco.skip=true" -D"argLine=--illegal-access=permit"

0 commit comments

Comments
 (0)