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