Explorar o código

chore(ci): update release workflow

zwlafk %!s(int64=4) %!d(string=hai) anos
pai
achega
b008803737
Modificáronse 1 ficheiros con 2 adicións e 3 borrados
  1. 2 3
      .github/workflows/release.yml

+ 2 - 3
.github/workflows/release.yml

@@ -1,13 +1,12 @@
 name: release
 
 on:
-  push:
-    tags:        
-      - 'v*'    
+  create
 
 jobs:
   release:
     runs-on: ubuntu-latest
+    if: github.event.ref_type == 'tag'
     steps:
       - uses: actions/checkout@v2
       - name: release