Skip to content

Conversation

@gowridurgad
Copy link
Contributor

@gowridurgad gowridurgad commented Jan 12, 2026

Description:
Adds support for installing .NET SDK workloads as part of the dotnet setup step.

Related issue:
#523

Check list:

  • Mark if documentation changes are required.
  • Mark if tests were added or updated to cover the changes.

@gowridurgad gowridurgad requested a review from a team as a code owner January 12, 2026 07:23
Copilot AI review requested due to automatic review settings January 12, 2026 07:23
Copy link

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.

Pull request overview

This PR adds support for installing .NET SDK workloads as part of the dotnet setup action by introducing a new workloads input parameter. The implementation automatically refreshes workload manifests before installing specified workloads.

Changes:

  • Added a new workloads input parameter to action.yml for specifying SDK workloads to install
  • Implemented workload installation logic in setup-dotnet.ts that parses comma-separated workload names and executes dotnet workload commands
  • Added documentation and usage examples for the new workloads feature
  • Added e2e test coverage across multiple operating systems (Ubuntu, Windows, macOS) using the wasm-tools workload

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
action.yml Defines the new workloads input parameter for the action
src/setup-dotnet.ts Implements workload parsing and installation logic with dotnet workload update and dotnet workload install commands
dist/setup/index.js Compiled/bundled version of the TypeScript source changes
README.md Adds documentation section explaining the workloads feature with usage examples and compatibility notes
.github/workflows/e2e-tests.yml Adds cross-platform e2e test for workload installation using wasm-tools

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

priyagupta108
priyagupta108 previously approved these changes Jan 13, 2026
aparnajyothi-y
aparnajyothi-y previously approved these changes Jan 14, 2026
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