Skip to content

Commit

Permalink
Configure local JDK toolchains in CI staging job
Browse files Browse the repository at this point in the history
  • Loading branch information
bclozel committed Jun 15, 2023
1 parent 362e189 commit b077ae9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ci/scripts/stage-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b077ae9

Please sign in to comment.