Update to Java 21

This commit is contained in:
Ravi Khadiwala 2023-12-18 15:05:20 -06:00 committed by ravi-signal
parent 95bb9a9780
commit 1d55562dc3
2 changed files with 5 additions and 5 deletions

View File

@ -12,11 +12,11 @@ jobs:
steps: steps:
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
- name: Set up JDK 17 - name: Set up JDK 21
uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 # v3.11.0 uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 # v3.11.0
with: with:
distribution: 'temurin' distribution: 'temurin'
java-version: 17 java-version: 21
cache: 'maven' cache: 'maven'
env: env:
# work around an issue with actions/runner setting an incorrect HOME in containers, which breaks maven caching # work around an issue with actions/runner setting an incorrect HOME in containers, which breaks maven caching

View File

@ -74,8 +74,8 @@
<swagger.version>2.2.17</swagger.version> <swagger.version>2.2.17</swagger.version>
<vavr.version>0.10.4</vavr.version> <vavr.version>0.10.4</vavr.version>
<!-- 17.0.8_7-jre-jammy --> <!-- 21.0.1_12-jre-jammy -->
<docker.image.sha256>b8af44d6a7e0615a7486d7307dd54bba23ff24e3aea14893fd2795e8c436d44e</docker.image.sha256> <docker.image.sha256>2d00f6910282a7a20ae7747b8f5e2371f7d55f06daed6bf60a323fcc7eaa3da8</docker.image.sha256>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties> </properties>
@ -433,7 +433,7 @@
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
<version>3.11.0</version> <version>3.11.0</version>
<configuration> <configuration>
<release>17</release> <release>21</release>
</configuration> </configuration>
</plugin> </plugin>