Skip to content

Commit

Permalink
ci: specify explicit java version in update-gradle.sh (#2437)
Browse files Browse the repository at this point in the history
  • Loading branch information
vaind committed Dec 20, 2022
1 parent ad3465a commit 353782a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/update-gradle.sh
Expand Up @@ -3,6 +3,10 @@ set -euo pipefail

cd $(dirname "$0")/../

if [[ -n ${CI+x} ]]; then
export JAVA_HOME=$JAVA_HOME_17_X64
fi

case $1 in
get-version)
# `./gradlew` shows some info on the first run, breaking the parsing in the next step.
Expand Down

0 comments on commit 353782a

Please sign in to comment.