Skip to content

Commit 4d86335

Browse files
nuget actions
1 parent f1721ad commit 4d86335

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/dotnet.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,11 @@ jobs:
2929

3030
- name: Test
3131
run: dotnet test --no-build --verbosity normal src/OneBitSoftware.Slovom.sln
32+
33+
- name: Pack
34+
run: dotnet pack --configuration Release --no-build src/OneBitSoftware.Slovom/OneBitSoftware.Slovom.csproj
35+
36+
- name: Publish to NuGet
37+
env:
38+
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
39+
run: dotnet nuget push bin/Release/*.nupkg --api-key $NUGET_API_KEY --source https://api.nuget.org/v3/index.json

0 commit comments

Comments
 (0)