ci: Force git-fetch-with-cli on windows as well

We already do this on linux, do this on windows as well

We need this as git has better handling of redirects, and
we are running into issues after gitlab.freedesktop.org
switched to using a cdn proxy.

Similar to the original issue [1]

[1]: https://gitlab.freedesktop.org/gstreamer/gst-ci/-/issues/71

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2194>
This commit is contained in:
Jordan Petridis 2025-04-09 10:14:11 +03:00
parent 916e946bf1
commit 15ef826bcf

View file

@ -278,6 +278,11 @@ documentation:
- 'windows'
- '2022'
- "gstreamer-windows"
before_script:
- New-Item -Force -Path ".cargo" -ItemType "directory"
- $git_config="[net]`ngit-fetch-with-cli = true`n"
- $git_config | out-file -encoding utf8 .cargo/config.toml
- Get-Content -Path .cargo/config.toml
script:
# Set the code page to UTF-8
- chcp 65001