setup-dotnet icon indicating copy to clipboard operation
setup-dotnet copied to clipboard

Install runtime only

Open nikolai-laevskii opened this issue 2 years ago • 2 comments

Description: Added ability to select to install runtime only instead of SDK. It utilizes built-in features of the dotnet-install script by conditionally passing -Runtime/--runtime flag.

Related issue: https://github.com/actions/setup-dotnet/issues/352

Check list:

  • [x] Mark if documentation changes are required.
  • [x] Mark if tests were added or updated to cover the changes.

nikolai-laevskii avatar Oct 18 '23 05:10 nikolai-laevskii

@nikolai-laevskii, I'd also incorporate information about the new input to the README file. Also, there is a failed check https://github.com/actions/setup-dotnet/actions/runs/6556781112/job/17807271424?pr=476

IvanZosimov avatar Oct 23 '23 06:10 IvanZosimov

This switch is cool, but I have another opposite idea, add a sdk-only switch. Right now by default the runtime is always installed first, then the sdk. When one wishes to install sdk only, there's really no need to install runtime separately before, since sdk already includes runtime.

VAllens avatar Jul 22 '24 12:07 VAllens