diff --git a/.forgejo/actions/publish-npm-package/action.yaml b/.forgejo/actions/publish-npm-package/action.yaml index 6dab1a1..5d22fdd 100644 --- a/.forgejo/actions/publish-npm-package/action.yaml +++ b/.forgejo/actions/publish-npm-package/action.yaml @@ -8,10 +8,10 @@ inputs: git_token: description: Token to publish packages required: true - git_username: + package_owner: description: user name that will hold the packages required: false - default: leandro + default: Altsoft git_url: description: Git/Gitea/Forgejo server required: false @@ -77,9 +77,9 @@ runs: shell: sh run: | echo "Git url: ${{ inputs.git_url }}" - echo "Git Username: ${{ inputs.git_username }}" - npm config set registry https://${{ inputs.git_url }}/api/packages/${{ inputs.git_username }}/npm/ - npm config set -- '//${{ inputs.git_url }}/api/packages/${{ inputs.git_username }}/npm/:_authToken' "${{ inputs.git_token }}" + echo "Package Owner: ${{ inputs.package_owner }}" + npm config set registry https://${{ inputs.git_url }}/api/packages/${{ inputs.package_owner }}/npm/ + npm config set -- '//${{ inputs.git_url }}/api/packages/${{ inputs.package_owner }}/npm/:_authToken' "${{ inputs.git_token }}" cd dist if npm view "${PACKAGE_NAME}@${PACKAGE_VERSION}" > /dev/null 2>&1; then diff --git a/.vscode/settings.json b/.vscode/settings.json index 6772390..c8e2e56 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,3 +1,3 @@ { - "cSpell.words": ["dbupdater", "lhprovedor", "npmjs", "webfactory"] + "cSpell.words": ["Altsoft", "dbupdater", "lhprovedor", "npmjs", "webfactory"] }