Skip to content

Commit

Permalink
meh
Browse files Browse the repository at this point in the history
  • Loading branch information
feisuzhu committed Dec 18, 2024
1 parent 56594a0 commit 438acc1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/scripts/common-utils.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ function SetGitCachingProxy {
git config --global --add url.http://git-cdn-github.botmaster.tgr/.insteadOf https://github.com/
git config --global --add url.http://git-cdn-github.botmaster.tgr/.insteadOf git@github.com:
# git config --global --add url.http://git-cdn-gitlab.botmaster.tgr/.insteadOf https://gitlab.com/
git config --global credential.helper "store --file $env:HOME\.git-credentials"
"http://oauth2:${env:GITHUB_TOKEN}@git-cdn-github.botmaster.tgr" | Out-File -FilePath $env:HOME\.git-credentials
git config --global credential.helper "store --file $env:TEMP\.git-credentials"
"http://oauth2:${env:GITHUB_TOKEN}@git-cdn-github.botmaster.tgr" | Out-File -FilePath $env:TEMP\.git-credentials
}

if($env:TI_USE_GIT_CACHE) {
Expand Down

0 comments on commit 438acc1

Please sign in to comment.