From b077ae92596a88c59e5d1e2680776c6c13f6e5cd Mon Sep 17 00:00:00 2001 From: Brian Clozel Date: Thu, 15 Jun 2023 14:01:06 +0200 Subject: [PATCH] Configure local JDK toolchains in CI staging job --- ci/scripts/stage-version.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ci/scripts/stage-version.sh b/ci/scripts/stage-version.sh index 73c5775545..7cf2e3b366 100755 --- a/ci/scripts/stage-version.sh +++ b/ci/scripts/stage-version.sh @@ -35,7 +35,8 @@ git add gradle.properties > /dev/null git commit -m"Release v$stageVersion" > /dev/null git tag -a "v$stageVersion" -m"Release v$stageVersion" > /dev/null -./gradlew --no-daemon --max-workers=4 -PdeploymentRepository=${repository} build publishAllPublicationsToDeploymentRepository +./gradlew --no-daemon --max-workers=4 -PdeploymentRepository=${repository} -Porg.gradle.java.installations.fromEnv=JDK17,JDK21 \ + build publishAllPublicationsToDeploymentRepository git reset --hard HEAD^ > /dev/null if [[ $nextVersion != $snapshotVersion ]]; then