Skip to content

Commit 7bf5792

Browse files
committed
chore(ci): Add --skip-duplicate to NuGet push for idempotent re-runs
1 parent 86dc487 commit 7bf5792

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/actions/nuget-org-publish/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ runs:
1919
- name: NuGet.org Push
2020
shell: pwsh
2121
run: |
22-
dotnet nuget push artifacts/*.nupkg -s https://api.nuget.org/v3/index.json -k "${{ inputs.token }}"
22+
dotnet nuget push artifacts/*.nupkg -s https://api.nuget.org/v3/index.json -k "${{ inputs.token }}" --skip-duplicate
2323

.github/actions/nuget-uno-publish/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ runs:
2424
shell: pwsh
2525
run: |
2626
dotnet nuget add source https://pkgs.dev.azure.com/uno-platform/1dd81cbd-cb35-41de-a570-b0df3571a196/_packaging/unoplatformdev/nuget/v3/index.json -n "dev" --username az --password "${{ inputs.token }}" --store-password-in-clear-text
27-
dotnet nuget push --api-key AZ -s dev artifacts/*.nupkg
27+
dotnet nuget push --api-key AZ -s dev artifacts/*.nupkg --skip-duplicate

0 commit comments

Comments
 (0)