Update npm/publish/action.yaml
This commit is contained in:
parent
8d3574ca58
commit
723a0f67dd
@ -30,4 +30,4 @@ runs:
|
|||||||
if: ${{github.ref_name}} == ${{inputs.branch}}
|
if: ${{github.ref_name}} == ${{inputs.branch}}
|
||||||
uses: docker://node
|
uses: docker://node
|
||||||
with:
|
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...'
|
||||||
|
Loading…
Reference in New Issue
Block a user