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 d577200 commit a192740
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: 2.1

orbs:
circleci-maven-release-orb: sonatype-nexus-community/[email protected].16
circleci-maven-release-orb: sonatype-nexus-community/[email protected].20

jobs:
build-and-test:
Expand Down Expand Up @@ -59,6 +59,14 @@ executors:
new-java-maven-executor:
machine:
image: ubuntu-2204:2024.11.1
steps:
- run:
name: Install OpenJDK 11
command: |
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
java -version
parameters:
run_workflow_release:
Expand Down

0 comments on commit a192740

Please sign in to comment.