ci: trigger build only on version tags

This commit is contained in:
xiamuceer-j
2026-03-02 13:22:13 +08:00
parent f116039a39
commit 423e671338
+1 -3
View File
@@ -2,10 +2,8 @@ name: Build and Release
on:
push:
branches:
- main
tags:
- 'v*' # 当推送形如 v1.0.0 的 tag 时触发
- 'v*' # 仅当推送形如 v1.0.0 的 tag 时触发
workflow_dispatch: # 允许在 GitHub Actions 页面手动触发
jobs: