From e953e1efa2baa424cd2e953f1aa0d70f69808fcb Mon Sep 17 00:00:00 2001 From: Jakub Rekowski Date: Sun, 20 Oct 2024 22:36:53 +0200 Subject: [PATCH] ci: changed npm publish condition on release --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5b168e3..a491c77 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,7 +30,7 @@ jobs: package-name: interpol.ts token: ${{ secrets.GITHUB_TOKEN }} - name: Publish to npm - if: steps.release.outcome == 'success' && steps.release.outputs.release_created == 'true' + if: ${{ steps.release.outcome == 'success' && steps.release.outputs.release_created == 'true' }} run: npm publish env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}