Skip to content

Commit

Permalink
Use Java 21 in GitHub workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewhorridge committed May 16, 2024
1 parent b246389 commit 71e2423
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
java-version: '17'
java-version: '21'
distribution: 'temurin'
- name: Build with Maven
run: mvn --batch-mode --update-snapshots package
2 changes: 1 addition & 1 deletion .github/workflows/pub-docker-hub.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Set up Maven Central Repository
uses: actions/setup-java@v3
with:
java-version: '17'
java-version: '21'
distribution: 'adopt'
server-id: docker.io
server-username: DOCKER_USERNAME
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pub.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- name: Set up Maven Central Repository
uses: actions/setup-java@v3
with:
java-version: '17'
java-version: '21'
distribution: 'adopt'
server-id: ossrh
server-username: OSSRH_USERNAME
Expand Down

0 comments on commit 71e2423

Please sign in to comment.