Skip to content

ci: Install NuGet 7.9.0 before pushing to nuget.org - #1668

Merged
Xiaoy312 merged 1 commit into
mainfrom
dev/xygu/20261008/fix-nuget-publish
Oct 8, 2026
Merged

Xiaoy312 merged 1 commit into
mainfrom
dev/xygu/20261008/fix-nuget-publish

Conversation

@Xiaoy312

@Xiaoy312 Xiaoy312 commented Oct 8, 2026

Copy link
Copy Markdown
Contributor

GitHub Issue (If applicable): N/A (CI fix; same fix as unoplatform/Uno.Themes#1755)

PR Type

  • Build or CI related changes

What is the current behavior?

Since 2026-10-08 the nuget.org push fails in Publish - Dev NuGet.org / NuGet Publish Dev (build 238204, the #1666 merge):

External service connections that use API key authentication require NuGet 7.6 or later. The selected NuGet version is 6.4.0.123.

11.0.0-dev.137 (published 2026-10-08 10:16 UTC) went through, so the requirement changed on the nuget.org uno packages service connection, not in this repo. Uno.Themes and uno hit the same error at the same time.

What is the new behavior?

build/workflow/templates/nuget-publish-public.yml installs NuGet 7.9.0 with NuGetToolInstaller@1 right before the NuGetCommand@2 push, using the same condition. The template is shared by the dev and production nuget.org publish, so both are covered. The internal dev-feed push (nuget-publish-dev.yml) is unchanged.

PR Checklist

  • Tested the changes where applicable: CI-only. The publish stages don't run for pull requests, so this takes effect on the first main build after merge. The identical change in Uno.Themes (ci: Install NuGet 7.9.0 before pushing to nuget.org 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.
  • Updated the documentation as needed (n/a)
  • Contains No breaking changes

🤖 Generated with Claude Code

- The nuget.org push 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."
- 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]>
@github-actions

github-actions Bot commented Oct 8, 2026

Copy link
Copy Markdown

@Xiaoy312
Xiaoy312 enabled auto-merge October 8, 2026 18:19
@mergify

mergify Bot commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

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.

@Xiaoy312
Xiaoy312 merged commit 641dc4b into main Oct 8, 2026
25 checks passed
@Xiaoy312
Xiaoy312 deleted the dev/xygu/20261008/fix-nuget-publish branch October 8, 2026 18:24
@agneszitte

Copy link
Copy Markdown
Member

@mergify backport servicing/10.0 release/stable/9.1

@mergify

mergify Bot commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

backport servicing/10.0 release/stable/9.1

✅ Backports have been created

Details

agneszitte pushed a commit that referenced this pull request Oct 9, 2026
…1670)

- The nuget.org push 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."
- 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


(cherry picked from commit eb5b20b)

Co-authored-by: xiaoy312 <[email protected]>
Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
agneszitte pushed a commit that referenced this pull request Oct 9, 2026
…1671)

- The nuget.org push 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."
- 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


(cherry picked from commit eb5b20b)

Co-authored-by: xiaoy312 <[email protected]>
Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
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