From ee204edc72f0366675d61336fdaa9bb8506a9594 Mon Sep 17 00:00:00 2001 From: Zakary Timson Date: Fri, 15 Dec 2023 03:43:47 +0000 Subject: [PATCH] Update npm/publish/action.yaml --- npm/publish/action.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/npm/publish/action.yaml b/npm/publish/action.yaml index 10fc739..db58bd7 100644 --- a/npm/publish/action.yaml +++ b/npm/publish/action.yaml @@ -36,6 +36,7 @@ runs: shell: sh - name: Publish + if: ${{github.ref_name}} == ${{inputs.branch}} uses: docker://node with: - args: /bin/bash -c "[[ ${{github.ref_name}} == ${{inputs.branch}} ]] && npm publish" + args: /bin/bash -c "npm publish"