Skip to content

Commit 0d0e5e3

Browse files
authored
Merge pull request #591 from cclauss/patch-2
Upgrade from deprecated macos-13 to macos-latest in CI
2 parents a1d3c7e + 828f06a commit 0d0e5e3

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
strategy:
2929
fail-fast: false
3030
matrix:
31-
os: [ubuntu-latest, macos-13]
31+
os: [ubuntu-latest, macos-latest]
3232
java: [ 8, 11, 17, 21, 25 ]
3333
experimental: [false]
3434
# Keep the same parameter order as the matrix above
@@ -50,7 +50,7 @@ jobs:
5050
- name: Set up JDK ${{ matrix.java }}
5151
uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0
5252
with:
53-
distribution: 'temurin'
53+
distribution: ${{ runner.os == 'macOS' && matrix.java == '8' && 'zulu' || 'temurin' }}
5454
java-version: ${{ matrix.java }}
5555
- name: Build with Maven
5656
run: mvn -Ddoclint=all --show-version --batch-mode --no-transfer-progress

0 commit comments

Comments
 (0)