Skip to content

Commit 5f3ebfb

Browse files
committed
use jdk11 for unit tests
1 parent 8d530cb commit 5f3ebfb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/build-validation.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@ jobs:
4545
run: ./gradlew build -x test
4646

4747
- name: Run Unit Tests with Gradle
48-
run: ./gradlew clean test || echo "UNIT_TEST_FAILED=true" >> $GITHUB_ENV
48+
run: |
49+
export JAVA_HOME=$JDK_11
50+
./gradlew clean test || echo "UNIT_TEST_FAILED=true" >> $GITHUB_ENV
4951
continue-on-error: true
5052

5153
- name: Upload test reports if tests failed

0 commit comments

Comments
 (0)