Skip to content

Support SDK workloads  #523

Description

@timheuer

Description:
The SDK ships with supporting a set of workloads (Wasm, MAUI, Aspire, and potentially more in the future). The setup-dotnet action should support these as further instructions to actually 'setup' the full dotnet environment as expected, not automatically, but opt-in.

uses: actions/setup-dotnet@v5
with:
  dotnet-version: 8.0.x
  workloads: [maui, aspire]

The expectation is that after SDK would be installed that then command would run dotnet workload update (to ensure manifests are updated) and then dotnet workload install on each item in the array

Justification:
Workloads are a primary way to get additional platform SDK tools and dependencies for key .NET frameworks.

/cc @baronfel

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

feature requestNew feature or request to improve the current logic

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions