From 59f4efc9e63890b789b16871cc5bf485310307bc Mon Sep 17 00:00:00 2001 From: wenyutang Date: Fri, 13 Dec 2024 15:12:01 +0800 Subject: [PATCH] ci: update cd for tag --- .github/workflows/cd.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index efeb2d4..34e18e3 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -81,6 +81,7 @@ jobs: echo "version=$(jq -r '"v"+.version' package.json)" >> $GITHUB_OUTPUT - uses: piszmog/create-tag@v1 + if: ${{ github.event.inputs.tag == 'true'}} with: version: ${{ steps.package-version.outputs.version }} message: "release ${{ steps.package-version.outputs.version }}"