Skip to content

Commit 04cd550

Browse files
committed
ci: fix publish
1 parent c1fc7ac commit 04cd550

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/publish.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
name: Publish
22

33
on:
4-
release:
5-
types: [published]
4+
push:
5+
tags:
6+
- 'v*' # 匹配所有以 v 开头的标签,比如 v1.0.0
67

78
jobs:
89
publish:

0 commit comments

Comments
 (0)