Skip to content

Commit 8b141a3

Browse files
committed
ci update for multiple OS
1 parent bf3e942 commit 8b141a3

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/dotnet-core.yml

Lines changed: 8 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
@@ -31,6 +34,7 @@ jobs:
3134
# A file, directory or wildcard pattern that describes what to upload
3235
path: src/QAToolKit.Engine.Bombardier/bin/
3336
deploy:
37+
name: Pack and Push Nuget
3438
needs: build
3539
if: github.event_name == 'release'
3640
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)