Skip to content

Commit 4a2136a

Browse files
authored
Update main.yml
1 parent aea228b commit 4a2136a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: CI
22

3-
on: [push]
3+
on: [push, pull_request]
44

55
jobs:
66
build:
@@ -11,5 +11,6 @@ jobs:
1111
- uses: actions/setup-dotnet@v1
1212
with:
1313
dotnet-version: '3.1.100'
14-
- run: dotnet build -c Release /nowarn:CS1591
14+
- run: dotnet build -c Release
1515
- run: dotnet test -c Release /nowarn:CS1591
16+
- run: dotnet pack src/ -c Release -o ${GITHUB_WORKSPACE} -p:version=1.0.0 /nowarn:CS1591

0 commit comments

Comments
 (0)