Skip to content

Commit

Permalink
Always set up JDK 11 and 24 for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
cushon committed Aug 10, 2024
1 parent af175b0 commit ac6597f
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,18 @@ jobs:
access_token: ${{ github.token }}
- name: 'Check out repository'
uses: actions/checkout@v3
- name: 'Set up JDK 11'
uses: actions/setup-java@v4
with:
java-version: 11
distribution: 'zulu'
cache: 'maven'
- name: 'Set up JDK 24 from jdk.java.net'
uses: oracle-actions/setup-java@v1
with:
website: jdk.java.net
release: 24
cache: 'maven'
- name: 'Set up JDK ${{ matrix.java }} from jdk.java.net'
if: ${{ matrix.java == 'EA' }}
uses: oracle-actions/setup-java@v1
Expand All @@ -63,9 +75,7 @@ jobs:
if: ${{ matrix.java != 'EA' }}
uses: actions/setup-java@v4
with:
java-version: |
11
${{ matrix.java }}
java-version: ${{ matrix.java }}
distribution: 'zulu'
cache: 'maven'
- name: 'Install'
Expand Down

0 comments on commit ac6597f

Please sign in to comment.