mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-24 10:28:10 +08:00
Merge pull request #358 from al-cheb/al-cheb/choco_fix
Fixing chocolatey installation
This commit is contained in:
@@ -92,6 +92,7 @@ else {
|
||||
}
|
||||
|
||||
# Run the installer
|
||||
[Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor "Tls12"
|
||||
Invoke-Expression ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))
|
||||
|
||||
# Turn off confirmation
|
||||
|
||||
@@ -92,6 +92,7 @@ else {
|
||||
}
|
||||
|
||||
# Run the installer
|
||||
[Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor "Tls12"
|
||||
Invoke-Expression ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))
|
||||
|
||||
# Turn off confirmation
|
||||
|
||||
Reference in New Issue
Block a user