-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
71 lines (71 loc) · 1.98 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
name: 'Automated versioning'
description: 'vmn based, production grade solution for versioning agnostic to language. Full support for semantic versioning (Semver).'
branding:
icon: trending-up
color: green
inputs:
app-name:
description: "Name of the app to stamp"
required: true
do-stamp:
type: boolean
description: "Do you want to perform a stamp?"
default: false
stamp-mode:
type: choice
description: "Desired Stamp Mode"
options:
- none
- major
- minor
- patch
default: none
release-candidate:
type: boolean
description: "Is it Release Candidate?"
prerelease-name:
type: string
description: "Prerelease Name"
default: rc
release:
type: boolean
description: "Is it ready to be released?"
stamp-from-version:
type: string
description: "Overwrite the base that VMN stamp will work from"
skip-version:
type: boolean
description: "Do you want to skip versions between Release Candidates?"
do-gen:
type: boolean
description: "Do you want to perform a generator?"
gen-template-path:
type: string
description: "Jinja2 Template path"
gen-output-path:
type: string
description: "Saving path"
gen-custom-yaml-path:
type: string
description: "Customs params YAML file path"
show-log-on-error:
type: boolean
description: "Do you want to see the VMN log on error?"
debug-mode:
type: boolean
description: "Show extra logs?"
install-nonstable-vmn-version:
type: boolean
description: "Install nonstable vmn version?"
outputs:
verstr:
description: 'The version after stamping'
dirty:
description: 'Flag that indicate if the version is dirty (If changes have been made since last stamp operation)'
is_in_rc_mode:
description: 'Flag that indicate if the stamped app is in release candidate mode'
verbose_yaml:
description: 'The whole "vmn show --verbose <APP_NAME>" output'
runs:
using: 'node16'
main: 'dist/index.js'