From 53aab7fc28fb66adfa402697b8457f3d1e96170c Mon Sep 17 00:00:00 2001 From: andreaTP Date: Wed, 30 Mar 2022 16:45:31 +0100 Subject: [PATCH] Use temurin instead of zulu in CI --- .github/workflows/ci.yml | 18 +++++++++--------- .github/workflows/codeql-java-analysis.yml | 2 +- .../workflows/codeql-js-adapter-analysis.yml | 2 +- .github/workflows/codeql-theme-analysis.yml | 2 +- .github/workflows/operator-ci.yml | 2 +- .../workflows/release-operator-container.yml | 2 +- .github/workflows/snyk.yml | 4 ++-- 7 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7f71f1b507..81857384f3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,7 +24,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-java@v2 with: - distribution: 'zulu' + distribution: 'temurin' java-version: ${{ env.DEFAULT_JDK_VERSION }} - name: Update maven settings run: mkdir -p ~/.m2 ; cp .github/settings.xml ~/.m2/ @@ -69,7 +69,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-java@v2 with: - distribution: 'zulu' + distribution: 'temurin' java-version: ${{ env.DEFAULT_JDK_VERSION }} - name: Update maven settings run: mkdir -p ~/.m2 ; cp .github/settings.xml ~/.m2/ @@ -111,7 +111,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-java@v2 with: - distribution: 'zulu' + distribution: 'temurin' java-version: ${{ env.DEFAULT_JDK_VERSION }} - name: Update maven settings run: mkdir -p ~/.m2 ; cp .github/settings.xml ~/.m2/ @@ -186,7 +186,7 @@ jobs: - uses: actions/setup-java@v2 if: ${{ github.event_name != 'pull_request' || matrix.server != 'undertow-map-hot-rod' || env.GIT_HOTROD_RELEVANT_DIFF != 0 }} with: - distribution: 'zulu' + distribution: 'temurin' java-version: ${{ env.DEFAULT_JDK_VERSION }} - name: Update maven settings if: ${{ github.event_name != 'pull_request' || matrix.server != 'undertow-map-hot-rod' || env.GIT_HOTROD_RELEVANT_DIFF != 0 }} @@ -254,7 +254,7 @@ jobs: - uses: actions/setup-java@v2 if: ${{ github.event_name != 'pull_request' || env.GIT_DIFF != 0 }} with: - distribution: 'zulu' + distribution: 'temurin' java-version: ${{ env.DEFAULT_JDK_VERSION }} - name: Update maven settings if: ${{ github.event_name != 'pull_request' || env.GIT_DIFF != 0 }} @@ -294,7 +294,7 @@ jobs: - uses: actions/setup-java@v2 if: ${{ github.event_name != 'pull_request' || env.GIT_DIFF != 0 }} with: - distribution: 'zulu' + distribution: 'temurin' java-version: ${{ env.DEFAULT_JDK_VERSION }} - name: Update maven settings if: ${{ github.event_name != 'pull_request' || env.GIT_DIFF != 0 }} @@ -368,7 +368,7 @@ jobs: name: keycloak-artifacts.zip - uses: actions/setup-java@v2 with: - distribution: 'zulu' + distribution: 'temurin' java-version: ${{ env.DEFAULT_JDK_VERSION }} - name: Update maven settings run: mkdir -p ~/.m2 ; cp .github/settings.xml ~/.m2/ @@ -418,7 +418,7 @@ jobs: name: keycloak-artifacts.zip - uses: actions/setup-java@v2 with: - distribution: 'zulu' + distribution: 'temurin' java-version: ${{ env.DEFAULT_JDK_VERSION }} - name: Update maven settings run: mkdir -p ~/.m2 ; cp .github/settings.xml ~/.m2/ @@ -471,7 +471,7 @@ jobs: - uses: actions/setup-java@v2 with: - distribution: 'zulu' + distribution: 'temurin' java-version: 8 - name: Update maven settings run: mkdir -p ~/.m2 ; cp .github/settings.xml ~/.m2/ diff --git a/.github/workflows/codeql-java-analysis.yml b/.github/workflows/codeql-java-analysis.yml index c8f7474df3..879c5e048c 100644 --- a/.github/workflows/codeql-java-analysis.yml +++ b/.github/workflows/codeql-java-analysis.yml @@ -24,7 +24,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-java@v2 with: - distribution: 'zulu' + distribution: 'temurin' java-version: '11' - name: Update maven settings diff --git a/.github/workflows/codeql-js-adapter-analysis.yml b/.github/workflows/codeql-js-adapter-analysis.yml index 4478ea2aa7..997acd107f 100644 --- a/.github/workflows/codeql-js-adapter-analysis.yml +++ b/.github/workflows/codeql-js-adapter-analysis.yml @@ -24,7 +24,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-java@v2 with: - distribution: 'zulu' + distribution: 'temurin' java-version: '11' - name: Update maven settings diff --git a/.github/workflows/codeql-theme-analysis.yml b/.github/workflows/codeql-theme-analysis.yml index 9d77d7ba74..b49ef444a0 100644 --- a/.github/workflows/codeql-theme-analysis.yml +++ b/.github/workflows/codeql-theme-analysis.yml @@ -24,7 +24,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-java@v2 with: - distribution: 'zulu' + distribution: 'temurin' java-version: '11' - name: Update maven settings diff --git a/.github/workflows/operator-ci.yml b/.github/workflows/operator-ci.yml index b6b6702755..c786f01a9b 100644 --- a/.github/workflows/operator-ci.yml +++ b/.github/workflows/operator-ci.yml @@ -26,7 +26,7 @@ jobs: run: mkdir -p ~/.m2 ; cp .github/settings.xml ~/.m2/ - uses: actions/setup-java@v2 with: - distribution: 'zulu' + distribution: 'temurin' java-version: ${{ env.JDK_VERSION }} - name: Cache Maven packages id: cache diff --git a/.github/workflows/release-operator-container.yml b/.github/workflows/release-operator-container.yml index ce077a6e8b..fcebc44acd 100644 --- a/.github/workflows/release-operator-container.yml +++ b/.github/workflows/release-operator-container.yml @@ -37,7 +37,7 @@ jobs: - uses: actions/setup-java@v2 with: - distribution: 'zulu' + distribution: 'temurin' java-version: ${{ env.JDK_VERSION }} - name: Cache Maven packages diff --git a/.github/workflows/snyk.yml b/.github/workflows/snyk.yml index 2a4a559822..241b4bafd5 100644 --- a/.github/workflows/snyk.yml +++ b/.github/workflows/snyk.yml @@ -18,7 +18,7 @@ jobs: - uses: actions/setup-java@v2 with: java-version: ${{ env.DEFAULT_JDK_VERSION }} - distribution: zulu + distribution: temurin cache: maven - name: Build Quarkus @@ -46,7 +46,7 @@ jobs: - uses: actions/setup-java@v2 with: java-version: ${{ env.DEFAULT_JDK_VERSION }} - distribution: zulu + distribution: temurin cache: maven - name: Build Keycloak