Skip to content

Add UseDotnet task for installing dotnet #24905

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

adityapatwardhan
Copy link
Member

PR Summary

This pull request includes several changes across multiple pipeline templates to streamline the use of .NET Core SDK and improve the bootstrap process. The most important changes involve replacing Start-PSBootstrap with UseDotNet@2 tasks and updating the Start-PSBootstrap command to use the -Scenario parameter.

Streamlining the use of .NET Core SDK:

Updating Start-PSBootstrap command:

These changes aim to standardize the usage of .NET Core SDK and improve the maintainability of the pipeline scripts.

PR Context

PR Checklist

@adityapatwardhan
Copy link
Member Author

/azp list

Copy link

@adityapatwardhan
Copy link
Member Author

/azp run

Copy link

Azure Pipelines successfully started running 5 pipeline(s).

@adityapatwardhan
Copy link
Member Author

/azp run

Copy link

Azure Pipelines successfully started running 5 pipeline(s).

@adityapatwardhan
Copy link
Member Author

/azp run

Copy link

Azure Pipelines successfully started running 5 pipeline(s).

@adityapatwardhan
Copy link
Member Author

/azp run

Copy link

Azure Pipelines successfully started running 5 pipeline(s).

@adityapatwardhan
Copy link
Member Author

/azp run

Copy link

Azure Pipelines successfully started running 5 pipeline(s).

@adityapatwardhan
Copy link
Member Author

/azp run

Copy link

Azure Pipelines successfully started running 5 pipeline(s).

@adityapatwardhan
Copy link
Member Author

/azp run

Copy link

Azure Pipelines successfully started running 5 pipeline(s).

Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 13 out of 28 changed files in this pull request and generated no comments.

Files not reviewed (15)
  • .pipelines/templates/release-validate-sdk.yml: Evaluated as low risk
  • .vsts-ci/linux/templates/packaging.yml: Evaluated as low risk
  • .pipelines/templates/windows-package-build.yml: Evaluated as low risk
  • .pipelines/templates/windows-hosted-build.yml: Evaluated as low risk
  • .pipelines/templates/testartifacts.yml: Evaluated as low risk
  • .pipelines/templates/nupkg.yml: Evaluated as low risk
  • .pipelines/templates/release-validate-fxdpackages.yml: Evaluated as low risk
  • .pipelines/templates/release-validate-globaltools.yml: Evaluated as low risk
  • .github/workflows/macos-ci.yml: Evaluated as low risk
  • .vsts-ci/psresourceget-acr.yml: Evaluated as low risk
  • .pipelines/templates/mac-package-build.yml: Evaluated as low risk
  • .vsts-ci/mac.yml: Evaluated as low risk
  • .pipelines/templates/linux-package-build.yml: Evaluated as low risk
  • .vsts-ci/templates/ci-build.yml: Evaluated as low risk
  • .pipelines/templates/compliance/apiscan.yml: Evaluated as low risk

@adityapatwardhan
Copy link
Member Author

/azp run

Copy link

Azure Pipelines successfully started running 4 pipeline(s).

@adityapatwardhan adityapatwardhan added the CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log label Feb 3, 2025
@adityapatwardhan adityapatwardhan merged commit 0cf23a8 into PowerShell:master Feb 3, 2025
49 of 53 checks passed
@adityapatwardhan adityapatwardhan deleted the PSBootStrapReplace branch February 3, 2025 22:37
Copy link
Contributor

microsoft-github-policy-service bot commented Feb 3, 2025

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

🔗 https://aka.ms/PSRepoFeedback

adityapatwardhan added a commit that referenced this pull request Feb 5, 2025
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
adityapatwardhan added a commit that referenced this pull request Feb 6, 2025
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
TravisEz13 added a commit to TravisEz13/PowerShell that referenced this pull request Feb 24, 2025
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
adityapatwardhan added a commit that referenced this pull request Mar 25, 2025
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
TravisEz13 added a commit that referenced this pull request Apr 4, 2025
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
pwshBot pushed a commit to pwshBot/PowerShell that referenced this pull request Apr 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BackPort-7.4.x-Done BackPort-7.5.x-Done 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