This repository has been archived by the owner on Oct 26, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 101
/
action.yml
76 lines (68 loc) · 2.37 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
name: Publish NuGet
author: R2 (@brandedoutcast)
description: Build, Pack & Publish a NuGet package with dotnet core on project version change
inputs:
PROJECT_FILE_PATH:
description: Filepath of the project to be packaged, relative to root of repository
required: true
BUILD_CONFIGURATION:
description: Configuration to build and package (default is Release)
required: false
default: Release
BUILD_PLATFORM:
description: Platform target to compile (default is empty/AnyCPU)
required: false
default:
NUSPEC_FILE:
description: file path to nuspec file
required: false
default:
PACKAGE_NAME:
description: NuGet package id, used for version detection & defaults to project name
required: false
VERSION_FILE_PATH:
description: Filepath with version info, relative to root of repository & defaults to PROJECT_FILE_PATH
required: false
VERSION_REGEX:
description: Regex pattern to extract version info in a capturing group
required: false
default: ^\s*<(Package|)Version>(.*)<\/(Package|)Version>\s*$
VERSION_STATIC:
description: Useful with external providers like Nerdbank.GitVersioning, ignores VERSION_FILE_PATH & VERSION_REGEX
required: false
TAG_COMMIT:
description: Flag to toggle git tagging, enabled by default
required: false
default: true
TAG_FORMAT:
description: Format of the git tag, [*] gets replaced with actual version
required: false
default: v*
NUGET_KEY:
description: API key to authenticate with NuGet server
required: false
NUGET_SOURCE:
description: NuGet server uri hosting the packages, defaults to https://api.nuget.org
required: false
default: https://api.nuget.org
INCLUDE_SYMBOLS:
description: Flag to toggle pushing symbols along with nuget package to the server, disabled by default
required: false
default: false
outputs:
VERSION:
description: Version of the associated git tag
PACKAGE_NAME:
description: Name of the NuGet package generated
PACKAGE_PATH:
description: Path to the generated NuGet package
SYMBOLS_PACKAGE_NAME:
description: Name of the symbols package generated
SYMBOLS_PACKAGE_PATH:
description: Path to the generated symbols package
runs:
using: node12
main: index.js
branding:
icon: package
color: blue