Skip to content

Commit ba85f5e

Browse files
committed
Upgrade from deprecated macos-13 to macos-latest in GitHub CI
1 parent 7a94b88 commit ba85f5e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/maven.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
continue-on-error: ${{ matrix.experimental }}
2828
strategy:
2929
matrix:
30-
os: [ubuntu-latest, windows-latest, macos-13]
30+
os: [ubuntu-latest, windows-latest, macos-latest]
3131
java: [ 8, 11, 17, 21, 25 ]
3232
experimental: [false]
3333
include:
@@ -48,7 +48,7 @@ jobs:
4848
- name: Set up JDK ${{ matrix.java }}
4949
uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0
5050
with:
51-
distribution: 'temurin'
51+
distribution: ${{ runner.os == 'macOS' && matrix.java == '8' && 'zulu' || 'temurin' }}
5252
java-version: ${{ matrix.java }}
5353
- name: Build with Maven
5454
run: mvn --errors --show-version --batch-mode --no-transfer-progress -Ddoclint=all

0 commit comments

Comments
 (0)