From 995a0a0e511511cc991b62d5273c83643c1fe864 Mon Sep 17 00:00:00 2001 From: Vincent Biret Date: Fri, 13 Nov 2026 07:37:16 -0500 Subject: [PATCH] ci: install Java 8 toolchain alongside Java 21 Install the Java 8 compiler required by -Pjava8=true instead of relying on the hosted runner image. Keep Java 21 as the default JVM for Gradle. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: de23e4a2-18d4-4f3f-a50e-d16751ed83b7 --- .github/workflows/build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7ec03d5ce..7127deb88 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,7 +16,9 @@ jobs: - name: Setup JDK uses: actions/setup-java@77dd5b2ce225ea11469928ac317850245a74ae78 # v6.2.0 with: - java-version: 21 + java-version: | + 8 + 21 distribution: 'temurin' cache: gradle - name: Build with Gradle