fix: setando input pro env
This commit is contained in:
parent
55a2649c5e
commit
647ff5d810
1 changed files with 3 additions and 2 deletions
|
@ -76,8 +76,8 @@ runs:
|
|||
- name: Publish to Git Packages
|
||||
shell: sh
|
||||
run: |
|
||||
npm config set registry https://git.lhprovedor.com.br/api/packages/${{ inputs.git_username }}/npm/
|
||||
npm config set -- '//git.lhprovedor.com.br/api/packages/${{ inputs.git_username }}/npm/:_authToken' "${GIT_TOKEN}"
|
||||
npm config set registry https://git.lhprovedor.com.br/api/packages/$GIT_USERNAME/npm/
|
||||
npm config set -- '//git.lhprovedor.com.br/api/packages/$GIT_USERNAME/npm/:_authToken' "${GIT_TOKEN}"
|
||||
cd dist
|
||||
|
||||
if npm view "${PACKAGE_NAME}@${PACKAGE_VERSION}" > /dev/null 2>&1; then
|
||||
|
@ -90,3 +90,4 @@ runs:
|
|||
cd ..
|
||||
env:
|
||||
GIT_TOKEN: ${{ inputs.git_token }}
|
||||
GIT_USERNAME: ${{ inputs.git_username }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue