Skip to content

Commit

Permalink
Use JDK 22
Browse files Browse the repository at this point in the history
  • Loading branch information
miguno committed May 7, 2024
1 parent 8d7904a commit fe020ef
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,16 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up JDK 21
uses: actions/setup-java@v4 # https://github.com/actions/setup-java
# TODO: Switch back to actions/setup-java@v4 once they support JDK 22 for temurin
#uses: actions/setup-java@v4 # https://github.com/actions/setup-java
#with:
# java-version: '21'
# distribution: 'temurin'
# cache: maven
uses: oracle-actions/setup-java@v1 # https://github.com/oracle-actions/setup-java
with:
java-version: '21'
distribution: 'temurin'
cache: maven
website: jdk.java.net
release: 22
- name: Verify and Package with Maven
run: ./mvnw --batch-mode --file pom.xml verify package

Expand Down

0 comments on commit fe020ef

Please sign in to comment.