Skip to content

Commit

Permalink
Update dotnet.yml
Browse files Browse the repository at this point in the history
Alteração do workflow para publicar pacote nuget automagicamente
  • Loading branch information
orochasamuel authored Sep 15, 2023
1 parent a19f6fc commit 3dec6a6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ jobs:
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
run: dotnet build --no-restore -c Release -o out
- name: Test
run: dotnet test --no-build --verbosity normal
- name: Nuget
run: |
cd out
dotnet nuget push *.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source ${{ secrets.NUGET_SERVER }} --skip-duplicate

0 comments on commit 3dec6a6

Please sign in to comment.