From 5cc12b856c49a80bada76b4e026a89c5bab7993f Mon Sep 17 00:00:00 2001 From: kiccer <1072907338@qq.com> Date: Sun, 7 Apr 2024 14:23:05 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=8E=20ci:=20release=20workflow=20test?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/master_push.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/master_push.yml b/.github/workflows/master_push.yml index e3790bd..79945ed 100644 --- a/.github/workflows/master_push.yml +++ b/.github/workflows/master_push.yml @@ -1,4 +1,4 @@ -name: Build and Deploy +name: 构建/部署/发布/NPM/tag/Release on: push: @@ -43,7 +43,7 @@ jobs: # 暂存 contains(github.ref, 'refs/tags/v${{ steps.package-version.outputs.version }}') 结果 - name: 判断 tag 是否存在 id: tag-exists - run: echo ::set-output name=tag-exists::$(contains(github.ref, "refs/tags/v${{ steps.package-version.outputs.version }}")) + run: echo ::set-output name=tag-exists::${{ contains(github.ref, 'refs/tags/v${{ steps.package-version.outputs.version }}') }} - name: 创建 tag run: git tag v${{ steps.package-version.outputs.version }} && git push --tags