mirror of
https://github.com/actions/setup-dotnet.git
synced 2024-11-25 12:53:06 +07:00
29 lines
1.5 KiB
YAML
29 lines
1.5 KiB
YAML
name: 'Setup .NET Core SDK'
|
|
description: 'Used to build and publish .NET source. Set up a specific version of the .NET and authentication to private NuGet repository'
|
|
author: 'GitHub'
|
|
branding:
|
|
icon: play
|
|
color: green
|
|
inputs:
|
|
dotnet-version:
|
|
description: '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'
|
|
dotnet-quality:
|
|
description: 'Optional quality of the build. The possible values are: daily, signed, validated, preview, ga.'
|
|
global-json-file:
|
|
description: 'Optional global.json location, if your global.json isn''t located in the root of the repo.'
|
|
source-url:
|
|
description: '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:
|
|
description: '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:
|
|
description: 'Optional NuGet.config location, if your NuGet.config isn''t located in the root of the repo.'
|
|
architecture:
|
|
description: 'Optional architecture to use. If not provided, will default to the OS architecture.'
|
|
required: False
|
|
outputs:
|
|
dotnet-version:
|
|
description: 'Contains the installed by action .NET SDK version for reuse.'
|
|
runs:
|
|
using: 'node16'
|
|
main: 'dist/index.js'
|