Skip to content

Commit 02fbd83

Browse files
committed
Upgrade from deprecated macos-13 to macos-latest in GitHub CI
1 parent db9a223 commit 02fbd83

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
@@ -28,7 +28,7 @@ jobs:
2828
continue-on-error: ${{ matrix.experimental }}
2929
strategy:
3030
matrix:
31-
os: [ubuntu-latest, windows-latest, macos-13]
31+
os: [ubuntu-latest, windows-latest, macos-latest]
3232
java: [ 8, 11, 17, 21 ]
3333
experimental: [false]
3434
include:
@@ -65,7 +65,7 @@ jobs:
6565
- name: Set up JDK ${{ matrix.java }}
6666
uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0
6767
with:
68-
distribution: 'temurin'
68+
distribution: ${{ runner.os == 'macOS' && matrix.java == '8' && 'zulu' || 'temurin' }}
6969
java-version: ${{ matrix.java }}
7070
- name: Build with Maven
7171
run: mvn --errors --show-version --batch-mode --no-transfer-progress -DtrimStackTrace=false '-Djdk.tls.client.protocols=TLSv1.2'

0 commit comments

Comments
 (0)