Skip to content

Commit

Permalink
fixing publish condition. It was comparing a true string with a boole…
Browse files Browse the repository at this point in the history
…an string
  • Loading branch information
javierfernandesba committed Jul 29, 2024
1 parent 71ee8d7 commit 7433aa8
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 && (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 7433aa8

Please sign in to comment.