Add workloads input parameter for .NET workload installation - #3
Draft
v-HarithaVattikuti with Copilot wants to merge 6 commits into
Draft
Add workloads input parameter for .NET workload installation#3v-HarithaVattikuti with Copilot wants to merge 6 commits into
v-HarithaVattikuti with Copilot wants to merge 6 commits into
Conversation
- Added 'workloads' input parameter to action.yml - Implemented workload installation in setup-dotnet.ts - Added tests for workload installation functionality - Updated test mocks to handle new input parameter Co-authored-by: HarithaVattikuti <73516759+HarithaVattikuti@users.noreply.github.com>
- Improved error handling to safely handle unknown error types - Added README documentation for the workloads feature with examples Co-authored-by: HarithaVattikuti <73516759+HarithaVattikuti@users.noreply.github.com>
Co-authored-by: HarithaVattikuti <73516759+HarithaVattikuti@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add workloads parameter to setup-dotnet action
Add workloads input parameter for .NET workload installation
Jan 8, 2026
Copilot stopped work on behalf of
v-HarithaVattikuti due to an error
January 8, 2026 20:09
Owner
|
@copilot Can you add one job for this feature in e2e-tests.yml |
- Added test-setup-with-workloads job to e2e-tests.yml - Tests installation of wasm-tools workload on ubuntu, windows, and macos - Verifies workload is properly installed using 'dotnet workload list' Co-authored-by: HarithaVattikuti <73516759+HarithaVattikuti@users.noreply.github.com>
Author
Added the e2e test job
|
Owner
|
@copilot Can you fix the CI failure |
Convert dotnet workload list output to string for proper regex matching in PowerShell Co-authored-by: HarithaVattikuti <73516759+HarithaVattikuti@users.noreply.github.com>
Author
Fixed in commit 8cfffe6. The CI failure was caused by the workload verification test - the PowerShell script wasn't properly converting the multi-line output from Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
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:
The .NET SDK ships with workloads (MAUI, Aspire, WASM, etc.) that require explicit installation. This adds opt-in support for installing workloads after SDK setup.
Implementation:
workloads(multiline, optional) inaction.ymldotnet workload updatethendotnet workload installwith all workloads in a single command for performanceworkloadsanddotnet-versionare providedtest-setup-with-workloadsjob to validate workload installation across ubuntu, windows, and macos platformsUsage:
Related issue:
Implements feature request for workload installation support.
Check list:
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.