From e4f6a74bf2ea4f78c013ef78cf5eadcad18720be Mon Sep 17 00:00:00 2001 From: Alec Blance <17378596+AlecBlance@users.noreply.github.com> Date: Sun, 20 Oct 2024 13:03:48 +0800 Subject: [PATCH] ci: :construction_worker: change condition to has no changesets --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 507f9b9..e3e3194 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -30,7 +30,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Upload assets - if: steps.changesets.outputs.published == 'true' + if: steps.changesets.outputs.hasChangesets == 'false' run: | version=v${{ steps.changesets.outputs.publishedversions[0].version }} pnpm build