-
Notifications
You must be signed in to change notification settings - Fork 7
/
action.yml
81 lines (81 loc) · 2.38 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
77
78
79
80
81
name: 'Run GitVersion'
description: 'Runs GitVersion and returns output variables'
inputs:
nofetch: # id of input
description: '"true" to use GitVersion /nofetch, any other value to enable fetch'
required: true
default: 'false'
nocache:
description: '"true" to use GitVersion /nocache, any other value to enable cache'
required: true
default: 'false'
outputs:
Major: # id of output
description: 'The Major value'
Minor:
description: 'The Minor value'
Patch:
description: 'The Patch value'
PreReleaseTag:
description: 'The PreReleaseTag value'
PreReleaseTagWithDash:
description: 'The PreReleaseTagWithDash value'
PreReleaseLabel:
description: 'The PreReleaseLabel value'
PreReleaseNumber:
description: 'The PreReleaseNumber value'
WeightedPreReleaseNumber:
description: 'The WeightedPreReleaseNumber value'
BuildMetaData:
description: 'The BuildMetaData value'
BuildMetaDataPadded:
description: 'The BuildMetaDataPadded value'
FullBuildMetaData:
description: 'The FullBuildMetaData value'
MajorMinorPatch:
description: 'The MajorMinorPatch value'
SemVer:
description: 'The SemVer value'
LegacySemVer:
description: 'The LegacySemVer value'
LegacySemVerPadded:
description: 'The LegacySemVerPadded value'
AssemblySemVer:
description: 'The AssemblySemVer value'
AssemblySemFileVer:
description: 'The AssemblySemFileVer value'
FullSemVer:
description: 'The FullSemVer value'
InformationalVersion:
description: 'The InformationalVersion value'
BranchName:
description: 'The BranchName value'
Sha:
description: 'The Sha value'
ShortSha:
description: 'The ShortSha value'
NuGetVersionV2:
description: 'The NuGetVersionV2 value'
NuGetVersion:
description: 'The NuGetVersion value'
NuGetPreReleaseTagV2:
description: 'The NuGetPreReleaseTagV2 value'
NuGetPreReleaseTag:
description: 'The NuGetPreReleaseTag value'
VersionSourceSha:
description: 'The VersionSourceSha value'
CommitsSinceVersionSource:
description: 'The CommitsSinceVersionSource value'
CommitsSinceVersionSourcePadded:
description: 'The CommitsSinceVersionSourcePadded value'
CommitDate:
description: 'The CommitDate value'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.nofetch }}
- ${{ inputs.nocache }}
branding:
icon: bookmark
color: blue