Update npm/publish/action.yaml

This commit is contained in:
Zakary Timson 2024-01-07 21:55:05 +00:00
parent 8d3574ca58
commit 723a0f67dd

View File

@ -30,4 +30,4 @@ runs:
if: ${{github.ref_name}} == ${{inputs.branch}}
uses: docker://node
with:
args: /bin/bash -c 'npm config set registry ${{inputs.registry}} && npm config set -- $(echo ${{inputs.registry}} | sed s%http:%% | sed s%https:%% ):_authToken "${{inputs.token}}" && npm publish || echo Already published...'
args: /bin/bash -c 'npm set registry ${{inputs.registry}} && npm set $(echo ${{inputs.registry}} | sed s%http:%% | sed s%https:%% ):_authToken "${{inputs.token}}" && npm publish || echo Already published...'