Add support for workloads input#693
Merged
HarithaVattikuti merged 5 commits intoactions:mainfrom Jan 29, 2026
Merged
Conversation
There was a problem hiding this comment.
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
workloadsinput 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.
Closed
priyagupta108
previously approved these changes
Jan 13, 2026
aparnajyothi-y
previously approved these changes
Jan 14, 2026
11659eb
priyagupta108
previously approved these changes
Jan 23, 2026
aparnajyothi-y
previously approved these changes
Jan 23, 2026
468d60a
priyagupta108
approved these changes
Jan 27, 2026
aparnajyothi-y
approved these changes
Jan 28, 2026
HarithaVattikuti
approved these changes
Jan 29, 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.
Description:
Adds support for installing .NET SDK workloads as part of the dotnet setup step.
Related issue:
#523
Check list: