KEMBAR78
[release/v7.5] Add UseDotnet task for installing dotnet by TravisEz13 · Pull Request #25281 · PowerShell/PowerShell · GitHub
Skip to content

Conversation

@TravisEz13
Copy link
Member

Backport #24905

This pull request includes changes to streamline the bootstrap process and ensure consistency across various CI/CD workflows by replacing Start-PSBootstrap with Start-PSBootstrap -Scenario Package and adding the UseDotNet@2 task to set up the .NET Core SDK. Below are the most important changes:

Consistency in Bootstrap Command:

  • Updated all instances of Start-PSBootstrap to Start-PSBootstrap -Scenario Package to ensure a consistent bootstrap process across different platforms and workflows. [1] [2] [3] [4] [5] [6]

.NET Core SDK Setup:

  • Added UseDotNet@2 task to various CI/CD templates to ensure the .NET Core SDK is set up using the global.json file. This change was applied to Linux, Windows, and macOS workflows. [1] [2] [3] [4] [5]

Removal of Redundant Bootstrap Commands:

  • Removed redundant Start-PSBootstrap commands from several CI/CD templates to streamline the build process and avoid unnecessary steps. [1] [2] [3] [4] [5]

These changes help in maintaining a more consistent and efficient build process across different environments.

Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
@TravisEz13 TravisEz13 added the CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log label Apr 4, 2025
@TravisEz13
Copy link
Member Author

/azp run PowerShell-CI-linux-packaging, PowerShell-Windows-Packaging-CI

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@adityapatwardhan adityapatwardhan enabled auto-merge (squash) April 4, 2025 22:25
@adityapatwardhan adityapatwardhan merged commit efb55e2 into release/v7.5 Apr 4, 2025
44 of 45 checks passed
@microsoft-github-policy-service
Copy link
Contributor

microsoft-github-policy-service bot commented Apr 4, 2025

📣 Hey @@TravisEz13, how did we do? We would love to hear your feedback with the link below! 🗣️

🔗 https://aka.ms/PSRepoFeedback

@TravisEz13 TravisEz13 deleted the backport-24905-751 branch September 10, 2025 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants