generated from actions/typescript-action
-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
action.yml
41 lines (37 loc) · 1.25 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
name: 'Check Version Format in Tag'
description: 'Check and extract version format from tag.'
author: 'nowsprinting'
inputs:
prefix:
description: 'Version prefix in tag. `refs/tags/` is unnecessary.'
required: false
default: ''
outputs:
is_valid:
description: '`true` if found valid version format in tag.'
is_stable:
description: '`true` if found stable version in tag. (not have pre-release metadata and major > 0)'
full:
description: 'Set full version as a string (include prefix).'
full_without_prefix:
description: 'Set full version as a string (exclude prefix).'
major:
description: 'Set major version as a string (include prefix).'
major_without_prefix:
description: 'Set major version as a string (exclude prefix).'
minor:
description: 'Set minor version as a string.'
patch:
description: 'Set patch version as a string.'
prerelease:
description: 'Set pre-release version as a string.'
major_prerelease:
description: 'Set major version with pre-release as a string (include prefix).'
major_prerelease_without_prefix:
description: 'Set major version with pre-release as a string (exclude prefix).'
runs:
using: 'node20'
main: 'dist/index.js'
branding:
icon: 'check-square'
color: 'blue'