File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -266,7 +266,7 @@ jobs:
266266 if : ${{ matrix.build_system == 'bazel' }}
267267 run : |
268268 cd ${GITHUB_WORKSPACE}/${{ matrix.bazel_project }}
269- bazelisk build -c opt ...:all
269+ bazelisk build -c opt ...:all --java_runtime_version=remotejdk_21
270270
271271 - name : Fix symlinks for Bazel (Windows)
272272 if : ${{ matrix.build_system == 'bazel' && runner.os == 'Windows' && matrix.bazel_project == 'java' }}
@@ -311,7 +311,7 @@ jobs:
311311 run : |
312312 cd ${GITHUB_WORKSPACE}/${{ matrix.bazel_project }}
313313 bazelisk query "tests(...)" --output=label > ${RUNNER_TEMP}/tests.lst
314- [ -s ${RUNNER_TEMP}/tests.lst ] && bazelisk test -c opt ...:all
314+ [ -s ${RUNNER_TEMP}/tests.lst ] && bazelisk test -c opt ...:all --java_runtime_version=remotejdk_21
315315 bazelisk clean
316316
317317 - name : Build / Test with Maven
You can’t perform that action at this time.
0 commit comments