Skip to content

Commit 8e552e3

Browse files
committed
Use setup-java as setup action for Java JDK instead of Oracle's tool
1 parent fb69da4 commit 8e552e3

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

.github/workflows/maven.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,11 @@ jobs:
3030
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3131

3232
- name: Set up JDK 23
33-
# TODO: Switch back to actions/setup-java@v4 once they support JDK 23 for temurin
34-
#uses: actions/setup-java@v4 # https://github.com/actions/setup-java
35-
#with:
36-
# java-version: '23'
37-
# distribution: 'temurin'
38-
# cache: maven
39-
uses: oracle-actions/setup-java@v1 # https://github.com/oracle-actions/setup-java
33+
uses: actions/setup-java@v4 # https://github.com/actions/setup-java
4034
with:
41-
website: jdk.java.net
42-
release: 23
35+
java-version: '23'
36+
distribution: 'temurin'
37+
cache: maven
4338

4439
- name: Print Java version
4540
run: java -version

0 commit comments

Comments
 (0)