mirror of
https://github.com/actions/runner-images.git
synced 2025-12-20 06:35:47 +00:00
fix choco installation
This commit is contained in:
@@ -92,6 +92,7 @@ else {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Run the installer
|
# Run the installer
|
||||||
|
[Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor "Tls12"
|
||||||
Invoke-Expression ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))
|
Invoke-Expression ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))
|
||||||
|
|
||||||
# Turn off confirmation
|
# Turn off confirmation
|
||||||
|
|||||||
@@ -92,6 +92,7 @@ else {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Run the installer
|
# Run the installer
|
||||||
|
[Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor "Tls12"
|
||||||
Invoke-Expression ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))
|
Invoke-Expression ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))
|
||||||
|
|
||||||
# Turn off confirmation
|
# Turn off confirmation
|
||||||
|
|||||||
Reference in New Issue
Block a user