aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--action.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/action.yml b/action.yml
index 38b20eb..e8dd66b 100644
--- a/action.yml
+++ b/action.yml
@@ -51,10 +51,10 @@ runs:
sudo apt-get install -yq --no-install-recommends $Packages
} elseif ($script:cygwin_host) {
$choco = Locate-Choco
- & $choco install -y --no-progress --source=cygwin $Packages
+ & $choco install $Packages -y --no-progress --source=cygwin
} elseif ($script:windows_host) {
$choco = Locate-Choco
- & $choco install -y --no-progress $Packages
+ & $choco upgrade $Packages -y --no-progress --allow-downgrade
} else {
throw "Sorry, installing packages is unsupported on $script:os"
}