From 68aa1b509dcc2cd9fa1d6551534a2f50f36731c7 Mon Sep 17 00:00:00 2001 From: Foivos Zakkak Date: Mon, 11 Dec 2023 17:32:56 +0200 Subject: [PATCH] Use JDK 17 for building Quarkus and switch to Temurin builds Quarkus no longer supports JDK 11. Furthermore, no actual tests are being run with GraalVM in JVM-mode so using it instead of Temurin builds doesn't seem to have any benefits. --- .github/workflows/quarkus.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/quarkus.yml b/.github/workflows/quarkus.yml index 0b608f95ea99..aa249a96fb37 100644 --- a/.github/workflows/quarkus.yml +++ b/.github/workflows/quarkus.yml @@ -128,6 +128,11 @@ jobs: with: name: graalvm path: graalvm.tgz + # Use Java 17 to build Quarkus as that's the lowest supported JDK version currently + - uses: actions/setup-java@v4 + with: + distribution: 'temurin' + java-version: '17' - name: Build Quarkus run: | cd ${QUARKUS_PATH} @@ -189,11 +194,10 @@ jobs: if: startsWith(matrix.os-name, 'ubuntu') shell: bash run: tar -xzf maven-repo.tgz -C ~ - - uses: graalvm/setup-graalvm@v1 + - uses: actions/setup-java@v4 with: - version: 'latest' + distribution: 'temurin' java-version: '17' - github-token: ${{ secrets.GITHUB_TOKEN }} - name: Build with Maven if: startsWith(matrix.os-name, 'ubuntu') env: