-
Notifications
You must be signed in to change notification settings - Fork 543
Add support for workloads input #693
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
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this 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
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.
…to workloads-input
11659eb
Description:
Adds support for installing .NET SDK workloads as part of the dotnet setup step.
Related issue:
#523
Check list: