Repository navigation
ci: Install NuGet 7.9.0 before pushing to nuget.org (backport #3217) - #3219
Merged
agneszitte merged 1 commit intoOct 9, 2026
Merged
Conversation
- The nuget.org push through an API-key service connection now fails with "External service connections that use API key authentication require NuGet 7.6 or later. The selected NuGet version is 6.4.0.123." (seen on unoplatform/uno and Uno.Themes since 2026-10-08) - Install NuGet 7.9.0 with NuGetToolInstaller@1 ahead of the NuGetCommand@2 push, with the same branch/PR condition - Covers both the dev and the production nuget.org publish, which share this template Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> (cherry picked from commit 89846c9)
1 of 4 tasks
ajpinedam
approved these changes
Oct 9, 2026
Author
|
This pull request does not currently match the merge queue conditions, so it cannot be queued from here. The box comes back if it matches again. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
GitHub Issue: N/A (CI fix; same fix as unoplatform/uno#25129 and unoplatform/Uno.Themes#1755)
PR Type:
🏗️ Build or CI related changes
What changed? 🚀
Since 2026-10-08 (~11:00 UTC),
NuGetCommand@2pushes to nuget.org through thenuget.org uno packagesservice connection fail with:The requirement changed on the service connection, not in this repo, and it already broke the nuget.org publish in unoplatform/uno (fixed by unoplatform/uno#25129) and Uno.Themes (unoplatform/Uno.Themes#1755). This repo pushes through the same connection with the same task and no
NuGetToolInstaller, so it runs with the agent's bundled nuget.exe 6.4.0.123 too.It hasn't failed here yet only because the nuget.org push hasn't run since the change: the last
mainbuild, 238215 (8.0-dev.74), failed earlier in Publish - Dev NuGet / NuGet Publish Dev on the Uno Dev Feed push (Too Many Requests), so Publish to nuget.org was skipped. The previous one,8.0-dev.72(build 237072, 2026-10-02), predates the change.This PR installs NuGet 7.9.0 with
NuGetToolInstaller@1right before theNuGetCommand@2push inbuild/ci/templates/nuget-publish-public.yml, using the same condition. The template is shared by the dev and production nuget.org publish, so both are covered. The internal feed pushes are unchanged.Verification
The publish stages don't run for pull requests, so this takes effect on the first
mainbuild after merge. The identical change in Uno.Themes (unoplatform/Uno.Themes#1755) was verified on its post-merge build: 238288 installed NuGet 7.9.0.83 and pushed all 7 packages to nuget.org through the same service connection.PR Checklist ✅
🤖 Generated with Claude Code
This is an automatic backport of pull request #3217 done by [Mergify](https://mergify.com).