generated from actions/typescript-action
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
73 lines (63 loc) · 2 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
name: 'Create Tags From'
description: 'Auto create tags from commit or package.json.'
author: 'Kenny Wong'
inputs:
token:
description: 'Your GITHUB_TOKEN'
default: ${{ github.token }}
required: false
version:
description: 'Create tag for specified version'
default: ''
required: false
test:
description: 'The regular expression matches the submitted content.'
default: ''
required: false
commit:
description: 'Compare the tag `version` number in the `commit content` with the last tag and automatically generate tags'
default: ''
required: false
package-path:
description: 'The path of the package.json file.'
default: 'package.json'
required: false
body:
description: 'An optional body for the release.'
default: ''
required: false
release:
description: 'Optionally marks this tag as release. Set to true to enable.'
default: false
required: false
draft:
description: 'Optionally marks this release as a draft release. Set to true to enable.'
default: false
required: false
prerelease:
description: 'Optionally marks this release as prerelease. Set to true to enable.'
default: false
required: false
outputs:
version:
description: 'The version number of the tag created. example: v1.0.0'
majorVersion:
description: 'MAJOR version when you make incompatible API changes.'
minorVersion:
description: 'MINOR version when you add functionality in a backwards compatible manner, and.'
patchVersion:
description: 'PATCH version when you make backwards compatible bug fixes.'
versionNumber:
description: 'The version number of the tag created. example: 1.0.0'
preversion:
description: 'The previous tag version number.'
preversionNumber:
description: 'The previous tag version number of the tag created. example: v1.0.0'
successful:
description: 'The tag was successfully created.'
runs:
using: 'node20'
main: 'dist/main.js'
branding:
icon: 'tag'
color: 'green'