actions / runner-images

GitHub Actions runner images
MIT License
9.82k stars 3.01k forks source link

Preinstall dotnet workloads #10512

Open rick-micpoint opened 2 weeks ago

rick-micpoint commented 2 weeks ago

Tool name

dotnet workload

Tool license

MIT

Add or update?

Desired version

The one that matches the installed dotnet sdk

Approximate size

No response

Brief description of tool

If you want to target specific platforms (or frameworks i.e. MAUI) in .NET, you often need to install additional workloads using the dotnet workload tool. This can be quite time consuming though, so it would be great if each platform could have their workloads pre-installed.

More details about workloads can also be found here

URL for tool's homepage

No response

Provide a basic test case to validate the tool's functionality.

No response

Platforms where you need the tool

Runner images where you need the tool

Can this tool be installed during the build?

The base dotnet sdk is already installed, and the workloads can be installed by using either dotnet workload install or dotnet workload restore

Tool installation time in runtime

Depending on the workload 2 to 10 minutes. The MAUI workload is probably the worst.

Are you willing to submit a PR?

No response

vidyasagarnimmagaddi commented 2 weeks ago

hi @rick-micpoint , Thank you for bringing this issue to our attention. We will look into this issue and will update you on this issue after investigating.

rick-micpoint commented 1 week ago

Thanks. I only marked the Windows images because that's where I currently need the workloads, but it obviously could be useful on the other platforms as well.