Skip to content

Commit b077ae9

Browse files
committed
Configure local JDK toolchains in CI staging job
1 parent 362e189 commit b077ae9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ci/scripts/stage-version.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ git add gradle.properties > /dev/null
3535
git commit -m"Release v$stageVersion" > /dev/null
3636
git tag -a "v$stageVersion" -m"Release v$stageVersion" > /dev/null
3737

38-
./gradlew --no-daemon --max-workers=4 -PdeploymentRepository=${repository} build publishAllPublicationsToDeploymentRepository
38+
./gradlew --no-daemon --max-workers=4 -PdeploymentRepository=${repository} -Porg.gradle.java.installations.fromEnv=JDK17,JDK21 \
39+
build publishAllPublicationsToDeploymentRepository
3940

4041
git reset --hard HEAD^ > /dev/null
4142
if [[ $nextVersion != $snapshotVersion ]]; then

0 commit comments

Comments
 (0)