Skip to content

Commit a8c4eb9

Browse files
committed
ci update for multiple OS
1 parent a26b483 commit a8c4eb9

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/dotnet-core.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,17 @@ name: Build .NET Library
22

33
on:
44
push:
5-
branches: [ main ]
65
pull_request:
7-
branches: [ main ]
6+
release:
7+
types:
8+
- published
89

910
jobs:
1011
build:
11-
12-
runs-on: ubuntu-latest
12+
runs-on: ${{ matrix.os }}
13+
strategy:
14+
matrix:
15+
os: [ ubuntu-latest, windows-latest, macos-latest ]
1316

1417
steps:
1518
- uses: actions/checkout@v2

0 commit comments

Comments
 (0)