From d1c26f9d841024ee8045e1bb0cc518e7e23f5bd7 Mon Sep 17 00:00:00 2001 From: Carl Dea Date: Thu, 21 Oct 2021 11:30:45 -0400 Subject: [PATCH] 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 * Using the latest LTS and fixed (major) versions of the OpenJDK. Removed 17 & 18-ea releases. Signed-off-by: Carl Dea Co-authored-by: Subhrodip Mohanta --- .github/workflows/maven-ci.yml | 10 ++++++---- .github/workflows/maven-pr-builder.yml | 10 ++++++---- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/.github/workflows/maven-ci.yml b/.github/workflows/maven-ci.yml index 3aba8edf8..94406095e 100644 --- a/.github/workflows/maven-ci.yml +++ b/.github/workflows/maven-ci.yml @@ -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 diff --git a/.github/workflows/maven-pr-builder.yml b/.github/workflows/maven-pr-builder.yml index a6a98bb68..c1fd2bd82 100644 --- a/.github/workflows/maven-pr-builder.yml +++ b/.github/workflows/maven-pr-builder.yml @@ -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