fix(ci): priv repo auth, ii. (#509)

This commit is contained in:
Hazel 2024-04-24 22:21:54 +01:00 committed by GitHub
parent 826199c055
commit 71ea913f0a
2 changed files with 3 additions and 3 deletions

View File

@ -75,9 +75,9 @@ runs:
name: Install dependencies
shell: bash
run: |
git config --global url.https://x-access-token:${{ inputs.gh-token }}@github.com/.insteadOf https://github.com/
git config --global 'url.https://x-access-token:${{ inputs.gh-token }}@github.com/.insteadOf' https://github.com/
haxelib --global run hmm install -q
git config --global --unset url.https://x-access-token:${{ inputs.gh-token }}@github.com/.insteadOf
git config --global --unset 'url.https://x-access-token:${{ inputs.gh-token }}@github.com/.insteadOf'
echo "TIMER_DONE=$(date +%s)" >> "$GITHUB_ENV"
# by default use a shared hxcpp cache

View File

@ -105,7 +105,7 @@ jobs:
- if: ${{ steps.cache-hmm.outputs.cache-hit != 'true' }}
name: Install dependencies
run: |
git config --global url.https://x-access-token:${{ steps.app_token.outputs.token }}@github.com/.insteadOf https://github.com/
git config --global 'url.https://x-access-token:${{ steps.app_token.outputs.token }}@github.com/.insteadOf' https://github.com/
haxelib --global run hmm install -q
- if: ${{ matrix.target != 'html5' }}