We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8605093 commit 385fb27Copy full SHA for 385fb27
.github/workflows/nuget-pack-push.yml
@@ -0,0 +1,18 @@
1
+name: CI
2
+on:
3
+ push:
4
+ tags:
5
+ - '*'
6
+jobs:
7
+ build:
8
+ name: Push ${{ github.ref }} to NUGET
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - uses: actions/checkout@v1
12
+ - uses: actions/setup-dotnet@v1
13
+ with:
14
+ dotnet-version: '3.1.100'
15
+ - run: dotnet build -c Release
16
+ - run: dotnet test -c Release
17
+ - run: dotnet pack -c Release -o ${GITHUB_WORKSPACE}
18
+ - run: dotnet nuget push ${GITHUB_WORKSPACE}/*.nupkg -k ${{ secrets.NUGET_KEY }} -s https://api.nuget.org/v3/index.json
0 commit comments