Skip to content

Commit

Permalink
[FLINK-37196][docs] Use JDK17 to run documentation build
Browse files Browse the repository at this point in the history
  • Loading branch information
reswqa committed Jan 24, 2025
1 parent 479fb42 commit 30e94e2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
################################################################################
set -e

# override env to use Java 11 to for build instead default Java 8
# override env to use Java 17 to for build instead default Java 8
# path to JDK is taken from https://github.com/apache/flink-connector-shared-utils/blob/ci_utils/docker/base/Dockerfile#L37-L40
export JAVA_HOME=$JAVA_HOME_11_X64
export PATH=$JAVA_HOME_11_X64/bin:$PATH
export JAVA_HOME=$JAVA_HOME_17_X64
export PATH=$JAVA_HOME_17_X64/bin:$PATH

mvn --version
java -version
Expand Down

0 comments on commit 30e94e2

Please sign in to comment.