aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--action.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/action.yml b/action.yml
index 7779fd1..d06f4d3 100644
--- a/action.yml
+++ b/action.yml
@@ -52,6 +52,12 @@ runs:
}
$choco = Locate-Choco
+
+ # WTF? Chocolatey versions past 1.1.0 don't work with --source=cygwin,
+ # they simply don't install anything.
+ # TODO: file a bug upstream.
+ & $choco install chocolatey --version 1.1.0 --allow-downgrade -y
+
$choco_params = @(
'upgrade',
'cygwin',