From 026661f168430de8aa91c49e3c77c94b97486dc0 Mon Sep 17 00:00:00 2001 From: Thomas Broyer Date: Thu, 24 Oct 2024 13:43:02 +0200 Subject: [PATCH] test --- .github/workflows/gradle.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/gradle.yaml b/.github/workflows/gradle.yaml index 8c16acc..cc714e2 100644 --- a/.github/workflows/gradle.yaml +++ b/.github/workflows/gradle.yaml @@ -65,7 +65,7 @@ jobs: name: windows-reports path: build/reports/ - # Test using a JDK version that's compatible with all supported versions (JDK 11) + # Test using a JDK version that's compatible with all supported versions (JDK 8) # but keep building with the same JDK (21) so it can benefit from build cache. test-gradle: needs: linux @@ -80,13 +80,13 @@ jobs: with: distribution: 'temurin' java-version: | - 11 + 8 21 - name: Setup environment run: | echo "org.gradle.java.installations.auto-download=false" | tee -a gradle.properties - echo "org.gradle.java.installations.fromEnv=JAVA_HOME_11_X64" | tee -a gradle.properties + echo "org.gradle.java.installations.fromEnv=JAVA_HOME_8_X64" | tee -a gradle.properties - uses: gradle/actions/setup-gradle@v4 with: @@ -96,7 +96,7 @@ jobs: - name: Build with Gradle id: gradle-build - run: ./gradlew integrationTest "-Ptest.gradle-version=${{ matrix.gradle }}" "-Ptest.java-toolchain=11" + run: ./gradlew integrationTest "-Ptest.gradle-version=${{ matrix.gradle }}" "-Ptest.java-toolchain=8" - name: Store reports if: always() && (steps.gradle-build.outcome == 'success' || steps.gradle-build.outcome == 'failure')