Always set up JDK 11 and 24 for CI
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 06f89f3..bb5caa9 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -52,6 +52,18 @@
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
@@ -63,9 +75,7 @@
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'