Skip to content

Commit 5cb2806

Browse files
authored
Using TCK Tested JDK builds of OpenJDK
The AdoptOpenJDK has been discontinued since July 2021. When using Zulu you get all the latest updated (TCK Tested) builds for all versions of OpenJDK. As good practice I added major fixed versions of JDK 8.0.192, 11.0.3. An example is when 8.0.192 passes(green) and 8 (latest) fails (red) you know it was the build version not your code that caused the build to fail. While Temurin is the successor to AdoptOpenJDK it does not support archived versions prior to sept. 2021. Azul has all archived versions and the latest releases.
1 parent 2dc736a commit 5cb2806

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/maven-build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
java: [ 16 ]
16+
java: [ 16, 17 ]
1717
steps:
1818
- uses: actions/checkout@v2
1919
- name: Set up JDK
2020
uses: actions/setup-java@v2
2121
with:
2222
java-version: ${{ matrix.java }}
23-
distribution: 'adopt'
23+
distribution: 'zulu'
2424
- name: Cached .m2
2525
uses: actions/[email protected]
2626
with:
@@ -39,14 +39,14 @@ jobs:
3939
fail-fast: false
4040
matrix:
4141
os: [ ubuntu, windows ]
42-
java: [ 8, 11, 16 ]
42+
java: [ 8.0.192, 8, 11, 11.0.3, 16, 17 ]
4343
steps:
4444
- uses: actions/checkout@v2
4545
- name: Set up JDK
4646
uses: actions/setup-java@v2
4747
with:
4848
java-version: ${{ matrix.java }}
49-
distribution: 'adopt'
49+
distribution: 'zulu'
5050
- uses: actions/[email protected]
5151
with:
5252
path: ~/.m2/repository

0 commit comments

Comments
 (0)