Skip to content

Commit

Permalink
fixing if condition for publish step
Browse files Browse the repository at this point in the history
  • Loading branch information
javierfernandesba committed Jul 29, 2024
1 parent a1c5d9d commit 71ee8d7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
run: npm pack

- name: Publish package
if: ${{ inputs.publish == 'true' }} && (contains(github.ref ,'refs/heads/release') || contains(github.ref ,'refs/heads/hotfix') || contains(github.ref ,'refs/heads/master') || contains(github.ref ,'refs/heads/main'))
if: inputs.publish == 'true' && (contains(github.ref ,'refs/heads/release') || contains(github.ref ,'refs/heads/hotfix') || contains(github.ref ,'refs/heads/master') || contains(github.ref ,'refs/heads/main'))
run: |
npm config set access public
npm publish

0 comments on commit 71ee8d7

Please sign in to comment.