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