浏览代码

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: