Skip to content

Commit d732a59

Browse files
committed
Upgrade from deprecated macos-13 to macos-latest in GitHub CI
1 parent 6bb0e0a commit d732a59

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:
@@ -51,7 +51,7 @@ jobs:
5151
- name: Set up JDK ${{ matrix.java }}
5252
uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0
5353
with:
54-
distribution: 'temurin'
54+
distribution: ${{ runner.os == 'macOS' && matrix.java == '8' && 'zulu' || 'temurin' }}
5555
java-version: ${{ matrix.java }}
5656
- name: Build with Maven
5757
run: mvn --errors --show-version --batch-mode --no-transfer-progress -DtrimStackTrace=false

0 commit comments

Comments
 (0)