Skip to content

Commit

Permalink
Upgrade to JDK 20
Browse files Browse the repository at this point in the history
Signed-off-by: Manoel Campos <[email protected]>
  • Loading branch information
manoelcampos committed Jun 1, 2023
1 parent 4d4f153 commit 6362dbb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Set up JDK 19
- name: Set up JDK 20
uses: actions/setup-java@v3
with:
java-version: '19'
java-version: '20'
distribution: 'zulu'
cache: maven
- name: Build with Maven
Expand Down
4 changes: 2 additions & 2 deletions .gitpod.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM gitpod/workspace-full
USER gitpod
RUN bash -c ". ~/.sdkman/bin/sdkman-init.sh && \
sdk install java 19-zulu && \
sdk default java 19-zulu"
sdk install java 20-zulu && \
sdk default java 20-zulu"
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<release>19</release>
<release>20</release>
<compilerArgs>
<arg>--enable-preview</arg>
</compilerArgs>
Expand Down

0 comments on commit 6362dbb

Please sign in to comment.