Skip to content

Install .NET 10 for darc in publishing pipelines - #17759

Merged
premun merged 1 commit into
mainfrom
copilot/darc-dotnet-10
Nov 3, 2026
Merged

premun merged 1 commit into
mainfrom
copilot/darc-dotnet-10

Conversation

@premun

@premun premun commented Nov 3, 2026

Copy link
Copy Markdown
Member

Update both YAML installations used for darc publishing from 8.0.x to 10.0.x, covering immediate and deferred asset publishing. Update the target-framework comment accordingly. Leave the unrelated MicroBuild .NET 8 installation unchanged.

To double check:

Copilot AI balanced review requested due to automatic review settings November 3, 2026 09:45

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues are reported for the publishing-template updates to install .NET 10 for darc.

No open issues 🎉

What changed in this PR

Updates the shared publishing templates to install .NET 10 for darc in both immediate and deferred asset publishing pipelines. The unrelated MicroBuild .NET 8 installation remains unchanged.

Changes:

  • Changes both darc SDK installations from 8.0.x to 10.0.x.
  • Updates the target-framework comment to match darc’s .NET 10 target.
File Description
eng/​common/​core-templates/​post-build/​post-build.yml Installs .NET 10 for deferred darc publishing.
eng/​common/​core-templates/​job/​publish-build-assets.yml Installs .NET 10 for immediate darc publishing and updates the comment.

Review effort: Balanced

@premun
premun enabled auto-merge (squash) November 3, 2026 09:53
@premun
premun merged commit 9afbf5e into main Nov 3, 2026
11 of 13 checks passed
@premun
premun deleted the copilot/darc-dotnet-10 branch November 3, 2026 10:50
@premun

premun commented Nov 3, 2026

Copy link
Copy Markdown
Member Author

/backport to release/10.0

@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

Started backporting to release/10.0 (link to workflow run)

@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

@premun backporting to release/10.0 failed, the patch most likely resulted in conflicts. Please backport manually!

git am output
$ git cherry-pick 9afbf5e8b29d60158b0e94d1e60fe846cf5b2535

Auto-merging eng/common/core-templates/job/publish-build-assets.yml
CONFLICT (content): Merge conflict in eng/common/core-templates/job/publish-build-assets.yml
Auto-merging eng/common/core-templates/post-build/post-build.yml
CONFLICT (content): Merge conflict in eng/common/core-templates/post-build/post-build.yml
error: could not apply 9afbf5e8b... Install .NET 10 for darc in publishing pipelines (#17759)
hint: After resolving the conflicts, mark them with
hint: "git add/rm <pathspec>", then run
hint: "git cherry-pick --continue".
hint: You can instead skip this commit with "git cherry-pick --skip".
hint: To abort and get back to the state before "git cherry-pick",
hint: run "git cherry-pick --abort".
hint: Disable this message with "git config set advice.mergeConflict false"


$ git am --3way --empty=keep --ignore-whitespace --keep-non-patch changes.patch

Applying: Install .NET 10 for darc in publishing pipelines
Using index info to reconstruct a base tree...
M	eng/common/core-templates/job/publish-build-assets.yml
M	eng/common/core-templates/post-build/post-build.yml
Falling back to patching base and 3-way merge...
Auto-merging eng/common/core-templates/job/publish-build-assets.yml
CONFLICT (content): Merge conflict in eng/common/core-templates/job/publish-build-assets.yml
Auto-merging eng/common/core-templates/post-build/post-build.yml
CONFLICT (content): Merge conflict in eng/common/core-templates/post-build/post-build.yml
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
hint: When you have resolved this problem, run "git am --continue".
hint: If you prefer to skip this patch, run "git am --skip" instead.
hint: To restore the original branch and stop patching, run "git am --abort".
hint: Disable this message with "git config set advice.mergeConflict false"
Patch failed at 0001 Install .NET 10 for darc in publishing pipelines
Error: The process '/usr/bin/git' failed with exit code 128

Link to workflow output

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