Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
tbroyer committed Oct 24, 2024
1 parent 89aae31 commit 026661f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/gradle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand All @@ -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')
Expand Down

0 comments on commit 026661f

Please sign in to comment.