Skip to content

Commit

Permalink
Java 11 in the release workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
tkowalcz committed Dec 21, 2024
1 parent 362e728 commit ce36e22
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,9 @@ jobs:

executors:
new-java-maven-executor:
docker:
- image: cimg/openjdk:11.0.25
machine:
image: ubuntu-2204:2024.11.1

parameters:
run_workflow_release:
default: false
Expand All @@ -77,7 +78,8 @@ workflows:
requires:
- build-and-test
executor: new-java-maven-executor
mvn-release-prepare-command: >-
mvn --batch-mode release:prepare -ntp -Dmaven.test.skip=true -DscmCommentPrefix="[skip ci] [maven-release-plugin] "
mvn-release-perform-command: >-
mvn --batch-mode release:perform -ntp -Dmaven.test.skip=true -s .circleci/.maven.xml
sudo apt-get update && sudo apt-get install openjdk-11-jdk
sudo update-alternatives --set java /usr/lib/jvm/java-11-openjdk-amd64/bin/java
sudo update-alternatives --set javac /usr/lib/jvm/java-11-openjdk-amd64/bin/javac
mvn --batch-mode release:perform -DskipTests -s .circleci/.maven.xml

0 comments on commit ce36e22

Please sign in to comment.