diff --git a/.github/workflows/actions/publish-npm/action.yml b/.github/workflows/actions/publish-npm/action.yml index a4be534e..6b5db06d 100644 --- a/.github/workflows/actions/publish-npm/action.yml +++ b/.github/workflows/actions/publish-npm/action.yml @@ -35,9 +35,12 @@ runs: working-directory: ${{ inputs.working-directory }} - name: Set Git User run: | - git config user.name ionitron - git config user.email hi@ionicframework.com + git config user.name --global ionitron + git config user.email --global hi@ionicframework.com + git config --global url."https://${GITHUB_TOKEN}:x-oauth-basic@github.com/".insteadOf "https://github.com/" shell: bash + env: + GITHUB_TOKEN: ${{ inputs.ghToken }} - name: Update Version run: npm version ${{ inputs.version }} shell: bash