Skip to content

Commit 1722712

Browse files
committed
Add matrix
1 parent 7ec2d91 commit 1722712

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/pr.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,11 @@ env:
1919

2020
jobs:
2121
build:
22-
runs-on: ubuntu-latest
22+
runs-on: ${{ matrix.os }}
23+
strategy:
24+
fail-fast: false
25+
matrix:
26+
os: [ ubuntu-latest, windows-latest, macos-latest ]
2327
steps:
2428
- uses: actions/checkout@v4
2529

@@ -37,6 +41,7 @@ jobs:
3741
run: ./build.sh publishbinaries
3842

3943
- uses: actions/upload-artifact@v4
44+
if: matrix.os == 'ubuntu-latest'
4045
with:
4146
name: docs-builder-binary
4247
path: .artifacts/publish/docs-builder/release/docs-builder

0 commit comments

Comments
 (0)