Skip to content

Commit

Permalink
Update CircleCI build image
Browse files Browse the repository at this point in the history
  • Loading branch information
fstab committed May 31, 2023
1 parent da243e2 commit db2304d
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,19 @@ machine: true
jobs:
build:
machine:
image: ubuntu-2004:202010-01
image: ubuntu-2204:2023.04.2
working_directory: ~/circleci-java
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
- checkout
- restore_cache:
key: maven-dependencies-{{ checksum "pom.xml" }}
- run: java -version
- run: ./mvnw clean install
- run: ./mvnw javadoc:jar
- save_cache:
Expand Down

0 comments on commit db2304d

Please sign in to comment.