Skip to content

Commit

Permalink
Use JDK 17 for building Quarkus and switch to Temurin builds
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
zakkak committed Dec 19, 2023
1 parent ddb574c commit 68aa1b5
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/quarkus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 68aa1b5

Please sign in to comment.