Skip to content

chore(ci): Add --skip-duplicate to NuGet push for idempotent re-runs#26

Merged
agneszitte merged 1 commit intomainfrom
dev/agzi/ci-skip-duplicate-nuget-push
Mar 18, 2026
Merged

chore(ci): Add --skip-duplicate to NuGet push for idempotent re-runs#26
agneszitte merged 1 commit intomainfrom
dev/agzi/ci-skip-duplicate-nuget-push

Conversation

@agneszitte
Copy link
Copy Markdown
Member

@agneszitte agneszitte commented Mar 17, 2026

Summary

Add --skip-duplicate flag to dotnet nuget push commands in CI workflows to make NuGet publish steps idempotent.

Why

When re-running CI, publish jobs fail because the package version already exists. The --skip-duplicate flag allows safe re-runs without failing on already-published packages.

This is part of an org-wide effort to make all unoplatform repo CI publish steps resilient to re-runs after certificate rotation or transient failures.

Related to unoplatform/uno.templates#2029

Copilot AI review requested due to automatic review settings March 17, 2026 20:57
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the CI workflow to make NuGet publishing more resilient to reruns by skipping already-published packages instead of failing the job.

Changes:

  • Add --skip-duplicate to the NuGet push command in the publish_dev job.
  • Add --skip-duplicate to the NuGet push command in the publish_prod job.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@agneszitte agneszitte requested review from jeromelaban and kazo0 March 17, 2026 21:06
@agneszitte agneszitte merged commit ddd95d3 into main Mar 18, 2026
12 checks passed
@agneszitte agneszitte deleted the dev/agzi/ci-skip-duplicate-nuget-push branch March 18, 2026 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants