Skip to content

Commit

Permalink
Add Java 21 in the CI build (#293)
Browse files Browse the repository at this point in the history
  • Loading branch information
jchen293 authored Nov 29, 2023
1 parent b587264 commit 0d98159
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ jobs:
runs-on: ubuntu-20.04
strategy:
matrix:
javaversion: ["8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20"]
javaversion: ["8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21"]
steps:
- uses: actions/checkout@v3
- name: Set up JDK for compilation
uses: actions/setup-java@v3
with:
distribution: "zulu"
java-version: "20" # Always use the latest JDK for building
java-version: "21" # Always use the latest JDK for building
- name: Load Maven dependencies cache
uses: actions/cache@v3
with:
Expand All @@ -45,7 +45,7 @@ jobs:
uses: actions/setup-java@v3
with:
distribution: "zulu"
java-version: "20" # Always use the latest JDK for building
java-version: "21" # Always use the latest JDK for building
- name: Load Maven dependencies cache
uses: actions/cache@v3
with:
Expand Down Expand Up @@ -101,7 +101,7 @@ jobs:
uses: actions/setup-java@v3
with:
distribution: "zulu"
java-version: "20" # Always use the latest JDK for building
java-version: "21" # Always use the latest JDK for building
- name: Load Maven dependencies cache
uses: actions/cache@v3
with:
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.26</version>
<version>1.18.30</version>
<scope>provided</scope>
</dependency>
</dependencies>
Expand Down Expand Up @@ -248,7 +248,7 @@
<path>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.24</version>
<version>1.18.30</version>
</path>
</annotationProcessorPaths>
</configuration>
Expand Down

0 comments on commit 0d98159

Please sign in to comment.