ithxforyou/Setup .NET Core SDK
Used to build and publish .NET source. Set up a specific version of the .NET and authentication to private NuGet repository
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Maintainedlast commit May 19, 2025
- License
- None
Pinned Snippet
uses: ithxforyou/need-tr4200812-@fcab9c22f03e9641fc9c1cc0297887d6fca5cb5a # Linktags can be moved; commit SHAs can't. why a SHA?
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, 3.x, 6.0.2xx | — | — |
| dotnet-quality | Optional quality of the build. The possible values are: daily, signed, validated, preview, ga. | — | — |
| global-json-file | Optional global.json location, if your global.json isn't located in the root of the repo. | — | — |
| 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 | — | — |
| 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 | — | — |
| config-file | Optional NuGet.config location, if your NuGet.config isn't located in the root of the repo. | — | — |
| cache | Optional input to enable caching of the NuGet global-packages folder | no | false |
| cache-dependency-path | Used to specify the path to a dependency file: packages.lock.json. Supports wildcards or a list of file names for caching multiple dependencies. | no | — |
Outputs
| name | description |
|---|---|
| cache-hit | A boolean value to indicate if a cache was hit. |
| dotnet-version | Contains the installed by action .NET SDK version for reuse. |