소스 검색

chore(action): simplified release configuration (#1935)

chen quan 2 년 전
부모
커밋
e9501c3fb3
1개의 변경된 파일3개의 추가작업 그리고 4개의 파일을 삭제
  1. 3 4
      .github/workflows/release.yaml

+ 3 - 4
.github/workflows/release.yaml

@@ -1,11 +1,10 @@
 on:
-  release:
-    types: [ created ]
-
+  push:
+    tags:
+      - "tools/goctl/*"
 jobs:
   releases-matrix:
     name: Release goctl binary
-    if: startsWith(github.ref, 'refs/tags/tools/goctl/')
     runs-on: ubuntu-latest
     strategy:
       matrix: