Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: specify explicit java version in update-gradle.sh #2437

Merged
merged 1 commit into from Dec 20, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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