Skip to content

Commit 764a439

Browse files
committed
Upgrade from deprecated macos-13 to macos-latest in GitHub CI
1 parent f141f09 commit 764a439

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
@@ -38,7 +38,7 @@ jobs:
3838
continue-on-error: ${{ matrix.experimental }}
3939
strategy:
4040
matrix:
41-
os: [ubuntu-latest, windows-latest, macos-13]
41+
os: [ubuntu-latest, windows-latest, macos-latest]
4242
java: [ 8, 11, 17, 21, 25 ]
4343
experimental: [false]
4444
# Keep the same parameter order as the matrix above
@@ -72,7 +72,7 @@ jobs:
7272
- name: Set up JDK ${{ matrix.java }}
7373
uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0
7474
with:
75-
distribution: 'temurin'
75+
distribution: ${{ runner.os == 'macOS' && matrix.java == '8' && 'zulu' || 'temurin' }}
7676
java-version: ${{ matrix.java }}
7777
# these values cause the plugin to set up the Maven settings.xml file
7878
server-id: apache.snapshots.https # Value of the distributionManagement/repository/id field of the pom.xml

0 commit comments

Comments
 (0)