mirror of
https://github.com/unchainese/unchain.git
synced 2025-12-24 12:38:02 +08:00
Update release workflow to trigger on published releases instead of tag pushes
This commit is contained in:
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
@@ -1,9 +1,9 @@
|
||||
name: Release
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- 'v*' # 触发条件:当有以 'v' 开头的标签推送到仓库时触发
|
||||
release:
|
||||
types: [published] # 当 Release 发布时触发
|
||||
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
Reference in New Issue
Block a user