-
-
Notifications
You must be signed in to change notification settings - Fork 14
/
action.yml
91 lines (86 loc) · 2.54 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
name: Release GitHub Actions
description: This is a GitHub Actions that automates the release of GitHub Actions.
author: technote-space
inputs:
GITHUB_TOKEN:
description: Secret GitHub API token to use for making API requests.
default: ${{ github.token }}
required: true
PACKAGE_MANAGER:
description: Package manager to use to install dependencies.
default: ''
required: false
BUILD_COMMAND:
description: Commands to build.
default: ''
required: false
COMMIT_MESSAGE:
description: Commit message of build commit.
default: 'feat: build for release'
required: true
COMMIT_NAME:
description: Git commit name.
default: 'github-actions[bot]'
required: true
COMMIT_EMAIL:
description: Git commit email.
default: '41898282+github-actions[bot]@users.noreply.github.com'
required: true
BRANCH_NAME:
description: Branch name.
default: 'gh-actions'
required: true
CLEAN_TARGETS:
description: Files or directories to clean before release. (Comma separated)
default: '.[!.]*,__tests__,docs,src,*.[jt]s,*.[mc][jt]s,*.json,*.lock,*.yml,*.yaml'
required: true
BUILD_COMMAND_TARGET:
description: Command for search build command.
default: 'prepare,build,production,prod,package,pack'
required: true
ALLOW_MULTIPLE_BUILD_COMMANDS:
description: Whether to allow run multiple build commands.
default: 'true'
required: false
CREATE_MAJOR_VERSION_TAG:
description: Whether to create major version tag.
default: 'true'
required: false
CREATE_MINOR_VERSION_TAG:
description: Whether to create minor version tag.
default: 'true'
required: false
CREATE_PATCH_VERSION_TAG:
description: Whether to create patch version tag.
default: 'true'
required: false
OUTPUT_BUILD_INFO_FILENAME:
description: Filename of build information.
default: ''
required: false
FETCH_DEPTH:
description: Limit fetching to the specified number of commits from the tip of each remote branch history.
default: '3'
required: false
TEST_TAG_PREFIX:
description: Tag name prefix for test.
default: ''
required: false
CLEAN_TEST_TAG:
description: Whether to clean test tag.
default: 'false'
required: false
ORIGINAL_TAG_PREFIX:
description: Tag name prefix for original tag.
default: ''
required: false
DELETE_NODE_MODULES:
description: Whether to delete node_modules.
default: 'false'
required: false
branding:
icon: 'tag'
color: 'green'
runs:
using: node16
main: lib/main.js