Update npm/publish/action.yaml
This commit is contained in:
parent
e665d1d5bc
commit
20b471a8c9
@ -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 -- ${{inputs.registry}}:_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'
|
||||||
|
Loading…
Reference in New Issue
Block a user