Skip to content

Commit 4784897

Browse files
committed
ci: Compile with Java 11 and run tests with Java 8
1 parent 6be111d commit 4784897

3 files changed

Lines changed: 0 additions & 4 deletions

File tree

.github/workflows/downstream_protobuf_compatibility_check_nightly.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ jobs:
5656
with:
5757
java-version: 11
5858
distribution: temurin
59-
- run: echo "JAVA11_HOME=${JAVA_HOME}" >> $GITHUB_ENV
6059
- name: Print Protobuf-Java testing version
6160
run: echo "Testing with Protobuf-Java v${{ matrix.protobuf-version }}"
6261
- name: Perform downstream source compatibility testing

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,6 @@ function build_program_arguments() {
6262
done
6363
}
6464

65-
java -version
66-
6765
# TODO(https://github.com/GoogleCloudPlatform/cloud-opensource-java/issues/2395): Java 17+ support for Linkage Checker
6866
# cloud-opensource-java contains the Linkage Checker tool
6967
git clone https://github.com/GoogleCloudPlatform/cloud-opensource-java.git

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ for repo in ${REPOS_UNDER_TEST//,/ }; do # Split on comma
3333

3434
export JAVA_HOME="${JAVA8_HOME}"
3535
export PATH=$JAVA_HOME/bin:$PATH
36-
java -version
3736

3837
# Compile the Handwritten Library with the Protobuf-Java version to test source compatibility
3938
# Run unit tests to help check for any behavior differences (dependant on coverage)

0 commit comments

Comments
 (0)