From acd036a528faadfb7045e482344c6539be2fbd8b Mon Sep 17 00:00:00 2001 From: seven Date: Sun, 7 Jul 2024 00:07:14 +0800 Subject: [PATCH] ci: skip steps when no release happen Signed-off-by: seven --- .github/workflows/release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e0d8b93..40ada4f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -118,11 +118,13 @@ jobs: package-path: ./package.json - name: Download Distribution Binaries uses: actions/download-artifact@v4 + if: steps.tag_release.outputs.successful with: path: artifacts merge-multiple: true - name: Generate changelog uses: jaywcjlove/changelog-generator@main + if: steps.tag_release.outputs.successful id: changelog with: token: ${{ secrets.GITHUB_TOKEN }}