Skip to content

Commit

Permalink
Publish the NuGet package
Browse files Browse the repository at this point in the history
  • Loading branch information
JSkimming committed Aug 22, 2020
1 parent 9b498c6 commit 503fd04
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,10 @@ jobs:
framework:
- netcoreapp3.1
name: Test ${{ matrix.os }} ${{ matrix.dotnet }} ${{ matrix.config }}

steps:

- uses: actions/checkout@v1
- uses: actions/checkout@v2

- name: Setup .NET Core
uses: actions/setup-dotnet@v1
Expand All @@ -48,9 +49,10 @@ jobs:
matrix:
framework:
- netcoreapp3.1

steps:

- uses: actions/checkout@v1
- uses: actions/checkout@v2

- name: Setup .NET Core
uses: actions/setup-dotnet@v1
Expand All @@ -73,3 +75,19 @@ jobs:
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ./test/TestResults/output/coverage.${{ matrix.framework }}.info

publish:
runs-on: windows-latest
name: Publish

steps:

- uses: actions/checkout@v2

- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.x

- name: Pack
run: dotnet pack -c Release --include-source -p:PackageVersion=1.2.3

0 comments on commit 503fd04

Please sign in to comment.