task: update GHA JDK build vendor from adopt build to Zulu (#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>
This commit is contained in:
Carl Dea 2021-10-21 11:30:45 -04:00 committed by GitHub
parent ba51a49802
commit d1c26f9d84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 8 deletions

View File

@ -36,7 +36,9 @@ jobs:
build:
runs-on: ubuntu-20.04
strategy:
matrix:
java-version: [ 11.0.3, 11 ]
steps:
- name: Checkout Code
@ -45,11 +47,11 @@ jobs:
# Disabling shallow clone for improving relevancy of SonarQube reporting
fetch-depth: 0
- name: Set up JDK 11
- name: Set up JDK ${{ matrix.java-version }}
uses: actions/setup-java@v2
with:
java-version: 11
distribution: 'adopt'
java-version: ${{ matrix.java-version }}
distribution: 'zulu'
- name: Cache SonarCloud packages
uses: actions/cache@v2

View File

@ -35,16 +35,18 @@ jobs:
build:
runs-on: ubuntu-20.04
strategy:
matrix:
java-version: [ 11.0.3, 11 ]
steps:
- name: Checkout Code
uses: actions/checkout@v2
- name: Set up JDK 11
- name: Set up JDK ${{ matrix.java-version }}
uses: actions/setup-java@v2
with:
java-version: 11
distribution: 'adopt'
java-version: ${{ matrix.java-version }}
distribution: 'zulu'
- name: Cache Maven Dependecies
uses: actions/cache@v2