ci: 更改发布 NPM 的触发条件

pull/1460/head
贤心 2023-12-17 00:32:49 +08:00
parent 62dac3de0e
commit d218bf45f0
1 changed files with 3 additions and 2 deletions

View File

@ -1,8 +1,9 @@
name: Publish to NPM
on:
release:
types: [created]
push:
tags:
- 'v*'
jobs:
publish-npm: