Skip to content

Commit

Permalink
java 21
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc Gorzala committed Dec 20, 2023
1 parent 2780d6e commit 0db2e50
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout the code
uses: actions/checkout@v3
- name: Set up JDK 1.17
uses: actions/setup-java@v3
uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: 17.0.4+1
java-version: 21
distribution: zulu
- name: Build the project with Maven
run: ./mvnw --batch-mode -update-snapshots package
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

FROM openjdk:17-slim
FROM openjdk:21-slim

ADD target/dancer.jar /dancer.jar
CMD ["java", "--enable-preview", "-jar", "/dancer.jar"]
Expand Down

0 comments on commit 0db2e50

Please sign in to comment.