xt0rted/setup-dotnet
A wrapper around the official actions/setup-dotnet action with extra features
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| dotnet-version | Optional SDK version(s) to use. If not provided, will install global.json version when available. Examples: 2.2.104, 3.1, 3.1.x | no | — |
| global-json-file | Optional global.json location, if your global.json isn't located in the root of the repo. | no | — |
| source-url | Optional package source for which to set up authentication. Will consult any existing NuGet.config in the root of the repo and provide a temporary NuGet.config using the NUGET_AUTH_TOKEN environment variable as a ClearTextPassword | no | — |
| owner | Optional OWNER for using packages from GitHub Package Registry organizations/users other than the current repository's owner. Only used if a GPR URL is also provided in source-url | no | — |
| config-file | Optional NuGet.config location, if your NuGet.config isn't located in the root of the repo. | no | — |
| include-prerelease | Whether prerelease versions should be matched with non-exact versions (for example 5.0.0-preview.6 being matched by 5, 5.0, 5.x or 5.0.x). Defaults to false if not provided. | no | — |
| colored-output | Sets the required environment variables to force color output from dotnet. | no | true |
| strip-comments-from-global-json | Whether to strip comments from the `global.json` file. | no | true |
| nuget_auth_token | Optional authentication token used with `source-url`. | no | — |
Outputs
no outputs