Skip to content

Commit

Permalink
fix-windows
Browse files Browse the repository at this point in the history
  • Loading branch information
feisuzhu committed Dec 18, 2024
1 parent b1bc38f commit 56594a0
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
"http://oauth2:${env:GITHUB_TOKEN}@git-cdn-github.botmaster.tgr" | Out-File -FilePath ~\.git-credentials
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
}

if($env:TI_USE_GIT_CACHE) {
Expand Down

0 comments on commit 56594a0

Please sign in to comment.