Skip to content

Commit

Permalink
Switch GA workflows to use the Temurin JDK.
Browse files Browse the repository at this point in the history
The maintainers of the 'setup-java' GitHub Action recommends migrating
from 'adopt' to 'temurin' [1], given that "AdoptOpenJDK got moved to
Eclipse Temurin and won't be updated anymore".

[1] https://github.com/actions/setup-java
  • Loading branch information
gouttegd committed Sep 18, 2024
1 parent 95532cf commit 888ad81
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ jobs:
uses: actions/setup-java@v4
with:
java-version: '11'
distribution: 'adopt'
distribution: 'temurin'
- name: Run test suite
run: mvn --batch-mode --activate-profiles ${{ matrix.profile }} --define release.signing.disabled=true clean verify
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
uses: actions/setup-java@v4
with:
java-version: '11'
distribution: 'adopt'
distribution: 'temurin'
server-id: ossrh
server-username: OSSRH_USERNAME
server-password: OSSRH_TOKEN
Expand Down

0 comments on commit 888ad81

Please sign in to comment.