diff --git a/action.yml b/action.yml index 0405e1c..2975016 100644 --- a/action.yml +++ b/action.yml @@ -1,24 +1,13 @@ 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' - 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.' - include-prerelease: - description: '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.' - required: False - default: 'false' + description: 'Set up a specific version of the .NET Core SDK and add the command-line tools to the PATH' + author: 'GitHub' + inputs: + dotnet-version: + description: 'SDK version to use. Example: 2.2.104' + # Deprecated option, do not use. Will not be supported after October 1, 2019 + version: + description: 'Deprecated. Use dotnet-version instead. Will not be supported after October 1, 2019' + deprecationMessage: 'The version property will not be supported after October 1, 2019. Use dotnet-version instead' runs: - using: 'node16' - main: 'dist/index.js' + using: 'node12' + main: 'lib/setup-dotnet.js'