Skip to content

Commit 9f16486

Browse files
committed
Run GH verification build on Linux and macOS
Fixes #1080
1 parent 5640b34 commit 9f16486

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/workflows/maven.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,19 @@ on:
1212
jobs:
1313
build:
1414

15-
runs-on: ubuntu-latest
15+
strategy:
16+
fail-fast: false
17+
matrix:
18+
os: [ubuntu-latest, macos-latest]
19+
runs-on: ${{ matrix.os }}
1620
timeout-minutes: 45
1721

1822
steps:
1923
- uses: actions/checkout@v3
2024
with:
2125
fetch-depth: 0
2226
submodules: true
23-
- name: Set up JDK 17
24-
uses: actions/setup-java@v3
27+
- uses: actions/setup-java@v3
2528
with:
2629
java-version: '17'
2730
distribution: 'temurin'
@@ -40,7 +43,7 @@ jobs:
4043
- name: Upload Test Results
4144
uses: actions/upload-artifact@v3
4245
with:
43-
name: test-results
46+
name: test-results-${{ matrix.os }}
4447
if-no-files-found: error
4548
path: |
4649
${{ github.workspace }}/**/target/surefire-reports/*.xml
@@ -52,4 +55,4 @@ jobs:
5255
uses: actions/upload-artifact@v3
5356
with:
5457
name: Event File
55-
path: ${{ github.event_path }}
58+
path: ${{ github.event_path }}

0 commit comments

Comments
 (0)