diff --git a/.github/workflows/CD.yaml b/.github/workflows/CD.yaml index 623e027..e851f10 100644 --- a/.github/workflows/CD.yaml +++ b/.github/workflows/CD.yaml @@ -114,8 +114,8 @@ jobs: name: "创建Github发布" runs-on: ubuntu-latest needs: install-init - ## 主库且tag更新时执行 - if: github.repository == '142vip/408CSFamily' && startsWith(github.ref, 'refs/tags/v') + ## 主库master、next且执行release更新时执行 + if: github.repository == '142vip/408CSFamily' && startsWith(github.event.head_commit.message, 'chore(release):') steps: - name: Restore Dependencies From cache