weihanli/install-dotnet
Install a .NET SDK by downloading this repository's dotnet-install release binary and using it to provision a local SDK.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| version | .NET SDK version selector(s) to install, for example 10.0.201 or a newline-delimited list such as 10.0.x and 9.0.x | no | "" |
| dotnet-version | .NET SDK version selector(s) to install, alias of `version`, for example 10.0.201 or a newline-delimited list such as 10.0.x and 9.0.x | no | "" |
| global-json-file | Path to a global.json file whose sdk.version should be installed. Cannot be combined with version or dotnet-version. | no | "" |
| install-dir | Install directory for the SDK. Defaults to a temp folder under the runner temp directory. | no | "" |
Outputs
| name | description |
|---|---|
| resolved-version | Resolved SDK version or newline-delimited SDK versions selected by dotnet-install. |
| install-dir | Absolute install directory used for the SDK. |
| dotnet-root | DOTNET_ROOT value exported for subsequent steps. |
| dotnet-path | Output of dotnet executable binary path |