Skip to content

Commit

Permalink
Publish dotnet tool package to nuget.org
Browse files Browse the repository at this point in the history
  • Loading branch information
kzu committed Jun 14, 2024
1 parent 7511b65 commit dc89a79
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
env:
DOTNET_NOLOGO: true
Configuration: Release
PackOnBuild: true

defaults:
run:
Expand Down Expand Up @@ -43,4 +44,8 @@ jobs:
- name: 🚀 deploy
if: github.ref == 'refs/heads/main'
working-directory: src\Web
run: func azure functionapp publish sponsorlink --dotnet-isolated
run: func azure functionapp publish sponsorlink --dotnet-isolated

- name: 🚀 nuget
working-directory: bin
run: dotnet nuget push *.nupkg -s https://api.nuget.org/v3/index.json -k ${{secrets.NUGET_API_KEY}} --skip-duplicate

0 comments on commit dc89a79

Please sign in to comment.