chore: update GitHub Actions workflow to trigger only on tags, removing branch push condition
This commit is contained in:
1
.github/workflows/build.yml
vendored
1
.github/workflows/build.yml
vendored
@@ -2,7 +2,6 @@ name: Build Executables
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ "main", "master" ] # 只在主分支推送时触发
|
|
||||||
tags:
|
tags:
|
||||||
- 'v*' # 添加标签触发条件,匹配 v1.0.0 这样的标签
|
- 'v*' # 添加标签触发条件,匹配 v1.0.0 这样的标签
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user