From 01ab775c43da32b814ca74fdd9f6fb2437f84995 Mon Sep 17 00:00:00 2001 From: Foivos Zakkak Date: Mon, 4 Dec 2023 13:51:12 +0200 Subject: [PATCH] [CI] Use JDK 17 for building Quarkus Since https://github.com/quarkusio/quarkus/pull/37335 Quarkus no longer builds with JDK 11. --- .github/workflows/base-windows.yml | 2 +- .github/workflows/base.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/base-windows.yml b/.github/workflows/base-windows.yml index 7af849765a87..bd5ddd2616fb 100644 --- a/.github/workflows/base-windows.yml +++ b/.github/workflows/base-windows.yml @@ -405,7 +405,7 @@ jobs: cd quarkus bash ../workflow-mandrel/.github/update_quarkus_version.sh 2.2.999 fi - # Use Java 17 to build Quarkus as it doesn't build with Java 20 + # Use Java 17 to build Quarkus as that's the lowest supported JDK version currently - uses: actions/setup-java@v3 with: distribution: 'temurin' diff --git a/.github/workflows/base.yml b/.github/workflows/base.yml index ea4851f8c234..7415a6a92ca0 100644 --- a/.github/workflows/base.yml +++ b/.github/workflows/base.yml @@ -448,11 +448,11 @@ jobs: cd quarkus bash ../workflow-mandrel/.github/update_quarkus_version.sh 2.2.999 fi - # Use Java 11 to build Quarkus as that's the lowest supported JDK version currently + # Use Java 17 to build Quarkus as that's the lowest supported JDK version currently - uses: actions/setup-java@v3 with: distribution: 'temurin' - java-version: '11' + java-version: '17' - name: Download GraalVM Maven Repo if: ${{ fromJson(needs.build-vars.outputs.build-from-source) == true && inputs.builder-image == 'null' && needs.build-vars.outputs.maven-deploy-local != ''}} uses: actions/download-artifact@v3