瀏覽代碼

fix: fix auto-tag

Jguer 5 年之前
父節點
當前提交
03c5e3fb94
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      .github/workflows/docker-ci.yml

+ 1 - 1
.github/workflows/docker-ci.yml

@@ -23,6 +23,7 @@ jobs:
           name: yay_release
           path: artifacts
   tag:
+    if: contains(github.ref, 'master')
     name: Tag release
     runs-on: ubuntu-latest
     steps:
@@ -31,4 +32,3 @@ jobs:
         uses: mathieudutour/github-tag-action@v3
         with:
           github_token: ${{ secrets.GITHUB_TOKEN }}
-    if: github.ref == 'master' && github.event_name == 'push'