Skip to content

Commit 7eda011

Browse files
committed
Add --skip-duplicate to "dotnet nuget push" in case duplicate workflows are triggered on a new tag
1 parent 547812b commit 7eda011

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publish-nuget.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ jobs:
2525
- name: Build (Release)
2626
run: dotnet build --configuration=Release --verbosity=normal
2727
- name: Publish to NuGet
28-
run: dotnet nuget push --api-key ${{secrets.NUGET_API_KEY}} --source 'https://api.nuget.org/v3/index.json' ${{github.workspace}}/packages/RabbitMQ.Stream.Client.*.nupkg
28+
run: dotnet nuget push --skip-duplicate --api-key ${{secrets.NUGET_API_KEY}} --source 'https://api.nuget.org/v3/index.json' ${{github.workspace}}/packages/RabbitMQ.Stream.Client.*.nupkg

0 commit comments

Comments
 (0)