Update npm/publish/action.yaml
This commit is contained in:
parent
20b471a8c9
commit
9b52a68118
@ -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'
|
||||
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...'
|
||||
|
Loading…
Reference in New Issue
Block a user