From 20b13293a0b7c30fe92a80506414f6584ba0bd82 Mon Sep 17 00:00:00 2001 From: Liam Miller-Cushon Date: Fri, 3 Jan 2025 10:56:45 -0800 Subject: [PATCH] Update JDK versions in ci.yml * Add JDK 23, for building multi-release jars. * Update references to 24 to 25 * Update latest STS release to 23 --- .github/workflows/ci.yml | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index baf453c6b85..25684fd42f8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,7 +38,7 @@ jobs: java: 21 experimental: false - os: ubuntu-latest - java: 22 + java: 23 experimental: false - os: ubuntu-latest java: EA @@ -58,7 +58,13 @@ jobs: java-version: 17 distribution: 'zulu' cache: 'maven' - - name: 'Set up JDK 24 from jdk.java.net' + - name: 'Set up JDK 23' + uses: actions/setup-java@v4 + with: + java-version: 23 + distribution: 'zulu' + cache: 'maven' + - name: 'Set up JDK 25 from jdk.java.net' uses: oracle-actions/setup-java@v1 with: website: jdk.java.net @@ -102,6 +108,12 @@ jobs: website: jdk.java.net release: 25 cache: 'maven' + - name: 'Set up JDK 23' + uses: actions/setup-java@v4 + with: + java-version: 23 + distribution: 'zulu' + cache: 'maven' - name: 'Set up JDK 17' uses: actions/setup-java@v4 with: @@ -128,11 +140,17 @@ jobs: steps: - name: 'Check out repository' uses: actions/checkout@v4 - - name: 'Set up JDK 24 from jdk.java.net' + - name: 'Set up JDK 25 from jdk.java.net' uses: oracle-actions/setup-java@v1 with: website: jdk.java.net - release: 24 + release: 25 + cache: 'maven' + - name: 'Set up JDK 23' + uses: actions/setup-java@v4 + with: + java-version: 23 + distribution: 'zulu' cache: 'maven' - name: 'Set up JDK 17' uses: actions/setup-java@v4