Skip to content

Commit 5db2d92

Browse files
committed
ci: Compile with Java 11 and run tests with Java 8
1 parent 445c113 commit 5db2d92

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/downstream_protobuf_compatibility_check_nightly.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,11 @@ jobs:
4747
uses: actions/checkout@v4
4848
- uses: actions/setup-java@v4
4949
with:
50-
# TODO(https://github.com/GoogleCloudPlatform/cloud-opensource-java/issues/2395): Java 17+ support for Linkage Checker
5150
java-version: 8
5251
distribution: temurin
5352
- run: echo "JAVA8_HOME=${JAVA_HOME}" >> $GITHUB_ENV
53+
# Java Client Libraries are compiled with Java 11 and target Java 8. Java 11 is required because GraalVM
54+
# minimum support is for Java 11.
5455
- uses: actions/setup-java@v4
5556
with:
5657
java-version: 11

.kokoro/nightly/downstream-protobuf-binary-compatibility.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ function build_program_arguments() {
6464

6565
java -version
6666

67+
# TODO(https://github.com/GoogleCloudPlatform/cloud-opensource-java/issues/2395): Java 17+ support for Linkage Checker
6768
# cloud-opensource-java contains the Linkage Checker tool
6869
git clone https://github.com/GoogleCloudPlatform/cloud-opensource-java.git
6970
pushd cloud-opensource-java

0 commit comments

Comments
 (0)