-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathaction.yml
More file actions
38 lines (34 loc) · 906 Bytes
/
action.yml
File metadata and controls
38 lines (34 loc) · 906 Bytes
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
name: 'Semver Parse'
description: 'Parses a semantic version from a given string or git tag'
inputs:
source:
description: 'A source to take string from'
required: false
string:
description: 'A string to extract semver from'
required: false
fallback:
description: 'A string to use as a tag when it is not found'
required: false
pattern:
description: 'Regex to extract semantic version from a input string'
required: false
outputs:
full:
description: 'A full representation of the semver'
major:
description: 'MAJOR part of the semver'
minor:
description: 'MINOR part of the semver'
patch:
description: 'PATCH part of the semver'
prerelease:
description: 'PRERELEASE part of the semver'
build:
description: 'BUILD part of the semver'
runs:
using: 'node20'
main: 'dist/index.js'
branding:
icon: 'play'
color: 'gray-dark'