Skip to content

chore(ci): Add allowPackageConflicts for idempotent NuGet publish#3041

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

chore(ci): Add allowPackageConflicts for idempotent NuGet publish#3041
agneszitte merged 1 commit into
mainfrom
dev/agzi/ci-skip-duplicate-nuget-push

Conversation

@agneszitte

@agneszitte agneszitte commented Mar 17, 2026

Copy link
Copy Markdown
Member

Summary

Add allowPackageConflicts: true to NuGetCommand@2 publish task to make NuGet publish steps idempotent.

Why

When re-running CI, publish jobs fail because the package version already exists. The allowPackageConflicts 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

@github-actions

Copy link
Copy Markdown

Azure Static Web Apps: Your stage site is ready! Visit it here: https://delightful-moss-0c5b8040f-3041.eastus2.azurestaticapps.net

@agneszitte
agneszitte requested review from jeromelaban and kazo0 March 17, 2026 21:46
@agneszitte
agneszitte enabled auto-merge March 18, 2026 14:57
@agneszitte
agneszitte merged commit 8bf0e80 into main Mar 18, 2026
15 checks passed
@agneszitte
agneszitte deleted the dev/agzi/ci-skip-duplicate-nuget-push branch March 18, 2026 16:51
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.

3 participants