actions / actions/setup-dotnet

Add ability to install just the runtime, rather than the SDK

Open
#352 3 comments 11 reactions 1 assignee View on GitHub

@nikolai-laevskii is already working on this.

Since Sep 1, 2023.

feature request
Dominant language
TypeScript
Stars
1.2k
Forks
572
Avg merge
12d 20h
Merged PRs (30d)
1

Description

Description:
This action sets up the .NET SDK, but in some cases I'd like to install just a specific runtime version, not the whole SDK.

Justification:
I have a library with tests for multiple .NET versions. I want to use the latest SDK, but to be able to run the tests for all the supported .NET versions, I also need the appropriate runtime versions to be installed.

Are you willing to submit a PR?
Open to it, but would need some guidance, since I'm not familiar with the code.

Note: this seems to be supported by the install.sh and install.ps1 scripts, but I see no way to pass the appropriate parameters to the script when using the action. Am I missing something?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.