Skip to content

Commit

Permalink
CI: Use Java 21 instead of 20, change distro to Temurin (#477)
Browse files Browse the repository at this point in the history
  • Loading branch information
snazy authored Nov 20, 2023
1 parent 80cfa24 commit 61cb2b6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
strategy:
max-parallel: 4
matrix:
java-version: [11, 17, 20]
java-version: [11, 17, 21]
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -39,7 +39,7 @@ jobs:
if: ${{ matrix.java-version == '11' }}
uses: actions/setup-java@v3
with:
distribution: 'zulu'
distribution: 'temurin'
java-version: 8
- name: Configure env with Java 8 home
if: ${{ matrix.java-version == '11' }}
Expand All @@ -58,7 +58,7 @@ jobs:
- name: Set up JDK ${{ matrix.java-version }}
uses: actions/setup-java@v3
with:
distribution: 'zulu'
distribution: 'temurin'
java-version: ${{ matrix.java-version }}

- name: Spotless Check
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
distribution: 'zulu'
distribution: 'temurin'
java-version: 11
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
gpg-passphrase: MAVEN_GPG_PASSPHRASE
Expand Down

0 comments on commit 61cb2b6

Please sign in to comment.