From e74cd70db30f2b4e614a9843004eeb0fc60f9d6d Mon Sep 17 00:00:00 2001 From: Andy Wu Date: Tue, 7 May 2024 15:57:47 -0700 Subject: [PATCH] [fix] add condition check back --- .github/workflows/publish-package.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish-package.yaml b/.github/workflows/publish-package.yaml index d502c946..3aad4480 100644 --- a/.github/workflows/publish-package.yaml +++ b/.github/workflows/publish-package.yaml @@ -105,7 +105,7 @@ jobs: needs: [print_version_to_publish, fetch_latest_version, fail_if_version_is_same] # Skip this job if the version to be published is the same as the latest version on NPM # and the event triggering the workflow is a push - # if: needs.fetch_latest_version.outputs.LATEST_VERSION != needs.print_version_to_publish.outputs.version_to_be_published && github.event_name == 'push' + if: needs.fetch_latest_version.outputs.LATEST_VERSION != needs.print_version_to_publish.outputs.version_to_be_published && github.event_name == 'push' uses: storyprotocol/gha-workflows/.github/workflows/reusable-create-release.yml@main with: version_to_publish: ${{ needs.print_version_to_publish.outputs.version_to_be_published }}