Skip to content

Commit 7a4b8ed

Browse files
committed
Publish the NuGet package
1 parent 0f8f0b6 commit 7a4b8ed

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,10 @@ jobs:
2929
framework:
3030
- netcoreapp3.1
3131
name: Test ${{ matrix.os }} ${{ matrix.dotnet }} ${{ matrix.config }}
32+
3233
steps:
3334

34-
- uses: actions/checkout@v1
35+
- uses: actions/checkout@v2
3536

3637
- name: Setup .NET Core
3738
uses: actions/setup-dotnet@v1
@@ -48,9 +49,10 @@ jobs:
4849
matrix:
4950
framework:
5051
- netcoreapp3.1
52+
5153
steps:
5254

53-
- uses: actions/checkout@v1
55+
- uses: actions/checkout@v2
5456

5557
- name: Setup .NET Core
5658
uses: actions/setup-dotnet@v1
@@ -73,3 +75,19 @@ jobs:
7375
with:
7476
github-token: ${{ secrets.GITHUB_TOKEN }}
7577
path-to-lcov: ./test/TestResults/output/coverage.${{ matrix.framework }}.info
78+
79+
publish:
80+
runs-on: windows-latest
81+
name: Publish
82+
83+
steps:
84+
85+
- uses: actions/checkout@v2
86+
87+
- name: Setup .NET Core
88+
uses: actions/setup-dotnet@v1
89+
with:
90+
dotnet-version: 3.1.x
91+
92+
- name: Pack
93+
run: dotnet pack -c Release --include-source -p:PackageVersion=1.2.3

0 commit comments

Comments
 (0)