From 5e1e75f75343799fc5a2273fa6ef60bba8ac7535 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=23=E4=BA=91=E6=B7=A1=E7=84=B6?= Date: Wed, 15 Mar 2023 17:44:39 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20publish=20=E6=9D=A1=E4=BB=B6=203?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e20a5ba..b3aa92f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,8 +20,9 @@ jobs: release-type: node bump-minor-pre-major: true publish: - if: ${{ steps.release.outputs.release_created }} runs-on: ubuntu-latest + needs: release + if: ${{ needs.release.steps.release.outputs.release_created }} steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3