-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
68 lines (60 loc) · 2.22 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
name: Publish GH Package
author: Rohan Büchner
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
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*<Version>(.*)<\/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://nuget.pkg.github.com
required: false
default: https://nuget.pkg.github.com
ORGANISATION:
description: The Organisation Name
required: true
default: Organisation
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