Update release workflow to trigger on published releases instead of tag pushes

This commit is contained in:
Code Ape
2024-12-30 07:32:26 +00:00
committed by GitHub
parent e141fc36c0
commit 3ad7a518a5

View File

@@ -1,9 +1,9 @@
name: Release
on:
push:
tags:
- 'v*' # 触发条件:当有以 'v' 开头的标签推送到仓库时触发
release:
types: [published] # 当 Release 发布时触发
jobs:
build: