-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathaction.yml
47 lines (47 loc) · 1.46 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
name: 'Bump version and publish release action'
description: 'This action is bump version from latest release, publish release with changes note and push to version branch'
author: 'MeilCli'
branding:
icon: package
color: gray-dark
inputs:
repository:
description: 'running repository, format: owner/repository'
required: true
default: ${{ github.repository }}
github_token:
description: 'github token, using to read and write repository'
required: true
default: ${{ github.token }}
commit_user:
description: 'the commit user'
required: true
default: 'github-action'
commit_email:
description: 'the commit user`s email'
required: true
default: '41898282+github-actions[bot]@users.noreply.github.com'
config_path:
description: 'config file path'
required: true
bump:
description: 'how to bump version, value: major or minor or patch or empty string'
dry_run:
description: 'if true, not create and push this changes, and output release informations'
draft:
description: 'if true, create release as draft'
pre_release:
description: 'if true, create release as pre release'
base_url:
description: 'The where the repo is hosted.'
default: 'github.com'
outputs:
current_version:
description: 'calculated current version'
next_version:
description: 'calculated next version'
release:
description: 'the response json of created release'
runs:
using: 'node20'
main: 'dist/index.js'