Skip to content

Commit

Permalink
Update dotnet.yml
Browse files Browse the repository at this point in the history
add nuget
  • Loading branch information
nameofSEOKWONHONG authored Nov 14, 2024
1 parent cb2f316 commit 5c896b2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,9 @@ jobs:
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal
- name: Pack
run: dotnet pack --no-build --configuration Release --output ./nupkgs
- name: Publish to NuGet
run: dotnet nuget push ./nupkgs/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}

0 comments on commit 5c896b2

Please sign in to comment.