-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
34 lines (34 loc) · 968 Bytes
/
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
name: 'Semantic Version (SemVer) Aliases'
branding:
icon: 'tag'
color: 'gray-dark'
description: 'Generate release aliases for a Semantic Version'
author: 'Samuel Ryan <sam@samryan.co.uk>'
inputs:
version:
required: true
description: 'Semantic Version to generate aliases for'
prefix:
required: false
description: 'String to prepend to front of each alias'
default: 'v'
major:
required: false
description: 'Should the major version (e.g: 1) be included in the aliases?'
default: true
minor:
required: false
description: 'Should the minor version (e.g: 1.1) be included in the aliases?'
default: true
patch:
required: false
description: 'Should the patch version (e.g: 1.1.1) be included in the aliases?'
default: false
outputs:
list:
description: 'Newline separated string of aliases'
csv:
description: 'Comma-separated string of aliases'
runs:
using: 'node16'
main: 'dist/index.js'