浏览代码

chore(ci): update release workflow

zwlafk 4 年之前
父节点
当前提交
02bcdba4bf
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      .github/workflows/release.yml

+ 1 - 1
.github/workflows/release.yml

@@ -6,7 +6,7 @@ on:
 jobs:
   release:
     runs-on: ubuntu-latest
-    if: github.event.ref_type == 'tag'
+    if: github.event.ref_type == 'tag' && !contains(github.event.ref, 'alpha')
     steps:
       - uses: actions/checkout@v2
       - name: release