Skip to content

Commit

Permalink
bump github actions to use java 21
Browse files Browse the repository at this point in the history
  • Loading branch information
grafjo committed Mar 23, 2024
1 parent 1040e68 commit ed127fd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
java-version: 21
cache: 'maven'
- name: Build with Maven
run: >
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ jobs:
MAVEN_CLI_OPTS: "--batch-mode --no-transfer-progress --errors --fail-at-end --show-version"
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
java-version: 21
cache: 'maven'
server-id: 'ossrh'
server-username: OSSRH_USERNAME
Expand Down

0 comments on commit ed127fd

Please sign in to comment.