setup-dotnet/action.yml

20 lines
1.2 KiB
YAML
Raw Normal View History

2019-11-12 00:49:23 +08:00
name: 'Setup .NET Core SDK'
description: 'Set up a specific version of the .NET Core SDK, add the command-line tools to the PATH and set up authentication to private package sources like GitHub Packages.'
2019-06-20 04:22:22 +08:00
author: 'GitHub'
inputs:
2019-08-14 04:05:52 +08:00
dotnet-version:
2019-11-12 00:49:23 +08:00
description: 'SDK version to use. Example: 2.2.104'
2019-09-10 01:27:23 +08:00
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.'
# Deprecated option, do not use. Will not be supported after October 1, 2019
2019-08-14 04:05:52 +08:00
version:
description: 'Deprecated. Use dotnet-version instead. Will not be supported after October 1, 2019'
2019-09-12 22:37:27 +08:00
deprecationMessage: 'The version property will not be supported after October 1, 2019. Use dotnet-version instead'
2019-06-20 04:22:22 +08:00
runs:
2019-07-10 00:43:19 +08:00
using: 'node12'
main: 'lib/setup-dotnet.js'