chore: update GitHub Actions workflow to trigger only on tags, removing branch push condition

This commit is contained in:
cheng zhen
2025-01-03 19:10:06 +08:00
parent 9b7475fcd2
commit 4b43645b19

View File

@@ -2,7 +2,6 @@ name: Build Executables
on: on:
push: push:
branches: [ "main", "master" ] # 只在主分支推送时触发
tags: tags:
- 'v*' # 添加标签触发条件,匹配 v1.0.0 这样的标签 - 'v*' # 添加标签触发条件,匹配 v1.0.0 这样的标签