diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8f5e6f4cdb1bb..3afbe486df6ea 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -239,10 +239,8 @@ jobs: steps: - name: Workaround checkout Needed single revision issue run: | - git config --system core.longpaths true + git config --global --unset-all url.http://git-cdn-github.botmaster.tgr/.insteadOf git submodule foreach 'git rev-parse HEAD > /dev/null 2>&1 || rm -rf $PWD' - . .github/workflows/scripts/common-utils.ps1 - UnsetGitCachingProxy - uses: actions/checkout@v3 with: diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 55f96c2f2ba26..0f7782c3a892b 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -373,10 +373,9 @@ jobs: steps: - name: Workaround checkout issues run: | - . .github/workflows/scripts/common-utils.ps1 + git config --global --unset-all url.http://git-cdn-github.botmaster.tgr/.insteadOf git config --system core.longpaths true git submodule foreach 'git rev-parse HEAD > /dev/null 2>&1 || rm -rf $PWD' # no '|| true' here - UnsetGitCachingProxy - uses: actions/checkout@v3 with: