mirror of
https://github.com/actions/runner-images.git
synced 2025-12-19 08:22:12 +00:00
[Windows] Fix hub installation (#2403)
* fix hub installation * add comment * small fix * add link to the issue
This commit is contained in:
committed by
GitHub
parent
afef0c94a8
commit
c24eb0b7b5
@@ -31,7 +31,8 @@ Install-Binary -Url $downloadUrl `
|
||||
"/o:EnableSymlinks=Enabled", `
|
||||
"/COMPONENTS=gitlfs")
|
||||
|
||||
Choco-Install -PackageName hub
|
||||
# Install hub with --ignore-dependencies option to prevent the installation of the git package. See details in https://github.com/actions/virtual-environments/issues/2375
|
||||
Choco-Install -PackageName hub -ArgumentList "--ignore-dependencies"
|
||||
|
||||
# Disable GCM machine-wide
|
||||
[Environment]::SetEnvironmentVariable("GCM_INTERACTIVE", "Never", [System.EnvironmentVariableTarget]::Machine)
|
||||
|
||||
Reference in New Issue
Block a user