Skip to content

Commit dab3920

Browse files
committed
ci(workflow): 修改发布触发条件为main分支推送和手动触发
将发布工作流的触发条件从标签推送改为main分支推送,并添加workflow_dispatch以支持手动触发
1 parent f7bc2b7 commit dab3920

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/publish-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ name: Publish Release
22

33
on:
44
push:
5-
tags:
6-
- '*'
5+
branches: [main]
6+
workflow_dispatch:
77

88
jobs:
99
publish-release:

0 commit comments

Comments
 (0)