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 2ca5ea6 commit 2b156d8Copy full SHA for 2b156d8
.github/workflows/ci.yml
@@ -50,10 +50,9 @@ jobs:
50
51
- name: Push NuGet
52
if: |
53
- startsWith(github.event.ref, 'refs/tags/')
54
- || endsWith(github.event.ref, '/master')
+ github.event.action == 'published'
55
shell: pwsh
56
- run: dotnet nuget push **/*.nupkg --source $Env:SOURCE --api-key $Env:TOKEN
+ run: dotnet nuget push **/*.nupkg --source $Env:SOURCE --api-key $Env:TOKEN --skip-duplicate
57
env:
58
SOURCE: 'https://api.nuget.org/v3/index.json'
59
TOKEN: ${{ secrets.NUGET_API_KEY }}
0 commit comments