Browse Source

Fix github action

杜府 3 years ago
parent
commit
9f37cac65d
2 changed files with 4 additions and 4 deletions
  1. 2 2
      .github/workflows/auto-public-npm.yml
  2. 2 2
      .github/workflows/auto-releases.yml

+ 2 - 2
.github/workflows/auto-public-npm.yml

@@ -7,8 +7,8 @@ on:
     push:
         branches:
             - main
-        paths:
-            - '/components/package.json'
+        tags:
+            - 'v*'
 
 jobs:
     publish:

+ 2 - 2
.github/workflows/auto-releases.yml

@@ -17,8 +17,8 @@ on:
     push:
         branches:
             - main
-        paths:
-            - '/components/package.json'
+        tags:
+            - 'v*'
 
 jobs:
     release-please: