feat(workflow): 添加手动触发release标签工作流
- 添加 workflow_dispatch 触发器支持手动运行 - 新增 tag 输入参数用于指定创建的标签 - 设置默认标签值为 staging - 保留原有的 push tags 自动触发功能master^2
parent
8585008f79
commit
629f747795
|
|
@ -4,6 +4,12 @@ on:
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- 'v*.*.*' # Push events to matching v*, i.e. v1.0, v20.15.10
|
- 'v*.*.*' # Push events to matching v*, i.e. v1.0, v20.15.10
|
||||||
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
tag:
|
||||||
|
description: 'Tag to create'
|
||||||
|
required: true
|
||||||
|
default: 'staging'
|
||||||
|
|
||||||
env:
|
env:
|
||||||
HUSKY: '0'
|
HUSKY: '0'
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue