Skip to content

Commit 44fb79f

Browse files
authored
[hotfix] Fix build_docs GHA workflow not working after Java 11 upgrade (#4201)
1 parent db1caee commit 44fb79f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/docs.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@
1818
################################################################################
1919
set -e
2020

21+
# override env to use Java 11 to for build instead default Java 8
22+
# path to JDK is taken from https://github.com/apache/flink-connector-shared-utils/blob/ci_utils/docker/base/Dockerfile#L37-L40
23+
export JAVA_HOME=$JAVA_HOME_11_X64
24+
export PATH=$JAVA_HOME_11_X64/bin:$PATH
25+
2126
mvn --version
2227
java -version
2328
javadoc -J-version

0 commit comments

Comments
 (0)