-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathaction.yml
54 lines (50 loc) · 1.43 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
name: 'SemVer workflow'
description: 'Updates version tags, creates release branches and GitHub releases'
author: 'kvendingoldo'
branding:
icon: 'play-circle'
color: 'green'
inputs:
primary_branch:
description: 'Main branch: master/main'
required: false
default: 'main'
init_version:
description: 'Initial project version'
required: false
default: '0.0.0'
enable_custom_branches:
description: 'If true, script will produce sha/x.y.z version for custom branches'
required: false
default: 'true'
enable_github_releases:
description: 'If true, GitHub releases will be created as well as Git branches. Requires github_token'
required: false
default: 'false'
github_token:
description: 'GitHub token that requires for operate under GitHub. You can use secrets GITHUB_TOKEN, check example'
required: false
default: ''
release_tag_prefix:
description: 'Prefix for Git release tags'
required: false
default: ''
tag_prefix:
description: 'Prefix for Git tags'
required: false
default: ''
log_level:
description: 'Semver log level'
required: false
default: 'INFO'
outputs:
version:
description: 'Version tag'
safe_version:
description: 'Version tag without specific symbols'
java_version:
description: 'Version tag in Java format'
runs:
using: 'docker'
#image: 'Dockerfile'
image: 'docker://kvendingoldo/semver-action:v1.20.4'