Skip to content

Commit 02f84f3

Browse files
committed
update to compile with java 21
1 parent e319dec commit 02f84f3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/github-build-and-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
uses: actions/setup-java@v5
1919
with:
2020
distribution: temurin
21-
java-version: '17'
21+
java-version: '21'
2222
cache: maven
2323
# This writes <server id="ossrh"> with id=ossrh
2424
server-id: ossrh

.github/workflows/github-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
uses: actions/setup-java@v5
2525
with:
2626
distribution: temurin
27-
java-version: '17'
27+
java-version: '21'
2828
cache: maven
2929

3030
# Import GPG only for trusted contexts (not forked PRs).
@@ -34,7 +34,7 @@ jobs:
3434
uses: actions/setup-java@v5
3535
with:
3636
distribution: temurin
37-
java-version: '17'
37+
java-version: '21'
3838
cache: maven
3939
gpg-private-key: ${{ secrets.OSSRH_GPG_SECRET_KEY }}
4040
gpg-passphrase: ${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }}

0 commit comments

Comments
 (0)