Avoid surprises on macOS, use macos-latest for GitHub builds.
MODIFY
.github/workflows/maven.yml
.github/workflows/maven.yml
@@ -24,7 +24,7 @@ jobs:
continue-on-error: ${{ matrix.experimental }}
strategy:
matrix:
- os: [ubuntu-latest, windows-latest]
+ os: [ubuntu-latest, windows-latest, macos-latest]
java: [ 8, 11, 16 ]
experimental: [false]
include:
@@ -34,6 +34,9 @@ jobs:
- java: 17-ea
os: windows-latest
experimental: true
+ - java: 17-ea
+ os: macos-latest
+ experimental: true
fail-fast: false
steps:

Avoid surprises on macOS, use macos-latest for GitHub builds.