From de3ed33dbe862665558393f5d242e02294b1e5d7 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Wed, 5 Nov 2025 09:46:35 +0100 Subject: [PATCH 1/2] Upgrade from deprecated macos-13 to macos-latest in CI Fixes: #590 * #590 --- .github/workflows/maven.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 9a24b4974..24b847399 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -28,7 +28,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, macos-13] + os: [ubuntu-latest, macos-latest] java: [ 8, 11, 17, 21, 25 ] experimental: [false] # Keep the same parameter order as the matrix above From 828f06aac7286c6ac6bdc544a7391197386de87e Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Wed, 5 Nov 2025 09:55:41 +0100 Subject: [PATCH 2/2] Run Java 8 distribution zulu --- .github/workflows/maven.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 24b847399..e7ef8dbd4 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -50,7 +50,7 @@ jobs: - name: Set up JDK ${{ matrix.java }} uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0 with: - distribution: 'temurin' + distribution: ${{ runner.os == 'macOS' && matrix.java == '8' && 'zulu' || 'temurin' }} java-version: ${{ matrix.java }} - name: Build with Maven run: mvn -Ddoclint=all --show-version --batch-mode --no-transfer-progress