Repository navigation
fix(ci): give tag-release a .NET 10 runtime for nbgv - #2168
Merged
Merged
Conversation
The runner image now pre-ships nbgv 3.10.91 (a .NET 10 build). The tag-release action installed only .NET 9.0.300 and pinned nbgv to 3.6.139 via `dotnet tool update`, which refuses to downgrade the pre-installed tool. So nbgv 3.10.91 ran against a box with no .NET 10 runtime and aborted with exit 150, before `git tag` executed — the 6.6 packages published to nuget.org but the release tag was never created. Install the .NET 10 runtime alongside 9.0.300 and pin nbgv to 3.10.91 so version resolution is deterministic. Also bump setup-dotnet v1 -> v4. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
This was referenced Jul 25, 2026
This was referenced Aug 7, 2026
This was referenced Aug 27, 2026
This was referenced Sep 4, 2026
This was referenced Sep 14, 2026
This was referenced Sep 21, 2026
This was referenced Oct 19, 2026
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.
Problem
The Tag Release step of the 6.6 production release failed with
nbgvexit code 150, so the6.6.29git tag was never created (the packages did publish to nuget.org and the Uno feed — tag is the last step in the job).Failed run:
release/stable/6.6CI, job Publish Nuget.org Production → Tag Release.Root cause — runner-image drift
.github/actions/ci/tag-release/action.yml:dotnet/nbgvaction pinned totoolVersion: 3.6.139(dotnet tool update -g nbgv --version 3.6.139).The GitHub runner image now pre-ships nbgv 3.10.91, a .NET 10 build.
dotnet tool updaterefuses to downgrade to 3.6.139:so nbgv 3.10.91 ran — against a box with no .NET 10 runtime:
nbgv get-versionaborts beforegit tagruns → no tag.Fix
toolVersionto 3.10.91 so resolution is deterministic instead of relying on whatever the runner pre-installs.actions/setup-dotnet@v1 → v4(also clears the Node-20 deprecation warning).Notes
6.6.29tag is being created manually out-of-band on the released commit (242715a), so this line is tagged regardless of the merge of this PR.3.6.139+ .NET-9-only nbgv pattern exists in other CI actions in this repo (build / sign / sdk-update) and in sibling repos (e.g.uno.csharpmarkup,nuget.updater). They don't tag, so they didn't fail here, but the same drift could bite them — worth a follow-up sweep.Related to https://github.com/unoplatform/private/issues/1076