Skip to content

Commit d1c26f9

Browse files
carldeaohbus
andauthored
task: update GHA JDK build vendor from adopt build to Zulu (iluwatar#1868)
* Using the latest LTS and fixed (major) versions of the OpenJDK. Signed-off-by: Carl Dea <carldea@gmail.com> * Using the latest LTS and fixed (major) versions of the OpenJDK. Removed 17 & 18-ea releases. Signed-off-by: Carl Dea <carldea@gmail.com> Co-authored-by: Subhrodip Mohanta <subhrodipmohanta@gmail.com>
1 parent ba51a49 commit d1c26f9

File tree

2 files changed

+12
-8
lines changed

2 files changed

+12
-8
lines changed

.github/workflows/maven-ci.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ jobs:
3636
build:
3737

3838
runs-on: ubuntu-20.04
39-
39+
strategy:
40+
matrix:
41+
java-version: [ 11.0.3, 11 ]
4042
steps:
4143

4244
- name: Checkout Code
@@ -45,11 +47,11 @@ jobs:
4547
# Disabling shallow clone for improving relevancy of SonarQube reporting
4648
fetch-depth: 0
4749

48-
- name: Set up JDK 11
50+
- name: Set up JDK ${{ matrix.java-version }}
4951
uses: actions/setup-java@v2
5052
with:
51-
java-version: 11
52-
distribution: 'adopt'
53+
java-version: ${{ matrix.java-version }}
54+
distribution: 'zulu'
5355

5456
- name: Cache SonarCloud packages
5557
uses: actions/cache@v2

.github/workflows/maven-pr-builder.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,18 @@ jobs:
3535
build:
3636

3737
runs-on: ubuntu-20.04
38-
38+
strategy:
39+
matrix:
40+
java-version: [ 11.0.3, 11 ]
3941
steps:
4042
- name: Checkout Code
4143
uses: actions/checkout@v2
4244

43-
- name: Set up JDK 11
45+
- name: Set up JDK ${{ matrix.java-version }}
4446
uses: actions/setup-java@v2
4547
with:
46-
java-version: 11
47-
distribution: 'adopt'
48+
java-version: ${{ matrix.java-version }}
49+
distribution: 'zulu'
4850

4951
- name: Cache Maven Dependecies
5052
uses: actions/cache@v2

0 commit comments

Comments
 (0)