Skip to content

Commit

Permalink
skip duplicate nuget versions (#3223)
Browse files Browse the repository at this point in the history
--skip-duplicate
  • Loading branch information
shargon authored May 10, 2024
1 parent bc86f6a commit 20ba8fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,6 @@ jobs:
- name: Publish to NuGet
if: steps.check_tag.outputs.statusCode == '404'
run: |
dotnet nuget push out/*.nupkg -s https://api.nuget.org/v3/index.json -k ${NUGET_TOKEN}
dotnet nuget push out/*.nupkg -s https://api.nuget.org/v3/index.json -k ${NUGET_TOKEN} --skip-duplicate
env:
NUGET_TOKEN: ${{ secrets.NUGET_TOKEN }}

0 comments on commit 20ba8fa

Please sign in to comment.