mirror of
https://github.com/actions/runner-images.git
synced 2026-01-01 15:09:03 +08:00
[Windows] make choco dummy call for currently installed version (#4410)
This commit is contained in:
@@ -1,2 +1,5 @@
|
||||
# Step to avoid initial delay for choco scripts
|
||||
choco upgrade chocolatey
|
||||
# Step to avoid initial delay for choco scripts.
|
||||
# On calling the first choco command
|
||||
# Chocolatey spends 2 minutes cleaning up and removing unneeded packages in the environment.
|
||||
$ChocoVersion = choco --version
|
||||
choco upgrade chocolatey --version=$ChocoVersion
|
||||
|
||||
Reference in New Issue
Block a user