mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-20 06:29:50 +00:00
[All OSes] Revert gitlfs changes (#9984)
* Revert "[Ubuntu] Add new git environment variable (#9899)" This reverts commitee7edb4f80. * Revert "[Windows] Add new git environment variable (#9898)" This reverts commit5113d251a8. * Revert "[macOS] Add new git environment variable (#9900)" This reverts commit5c60b0c2af.
This commit is contained in:
@@ -41,8 +41,6 @@ if ($LASTEXITCODE -ne 0) {
|
||||
|
||||
# Disable GCM machine-wide
|
||||
[Environment]::SetEnvironmentVariable("GCM_INTERACTIVE", "Never", "Machine")
|
||||
# Revert to the old behaviour and avoid the Git LFS problems (https://github.blog/2024-05-14-securing-git-addressing-5-new-vulnerabilities/)
|
||||
[Environment]::SetEnvironmentVariable("GIT_CLONE_PROTECTION_ACTIVE", "false", "Machine")
|
||||
|
||||
# Add to PATH
|
||||
Add-MachinePathItem "C:\Program Files\Git\bin"
|
||||
|
||||
Reference in New Issue
Block a user