From 7ce3714f9bcfbcad40ef9df462a343b37742273a Mon Sep 17 00:00:00 2001 From: chu fan Date: Sat, 9 Sep 2023 22:42:43 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8Drelease=20CD=E5=BC=82?= =?UTF-8?q?=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/CD.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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