Update npm/publish/action.yaml
This commit is contained in:
parent
e711b8bbac
commit
dd59f1a57d
@ -23,7 +23,7 @@ runs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Setup registry
|
- name: Setup registry
|
||||||
run: |
|
run: |
|
||||||
if [ "${{github.ref_name}}" == "develop" ] then;
|
if [ "${{github.ref_name}}" == "develop" ]; then
|
||||||
echo "_authToken=${{inputs.token}}" > .npmrc
|
echo "_authToken=${{inputs.token}}" > .npmrc
|
||||||
echo "registry=${{inputs.registry}}/api/packages/${{inputs.owner}}/npm/" >> .npmrc
|
echo "registry=${{inputs.registry}}/api/packages/${{inputs.owner}}/npm/" >> .npmrc
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user