aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-12-11 16:18:03 +0100
committerEgor Tensin <Egor.Tensin@gmail.com>2023-01-01 21:58:52 +0100
commit0c5b8b7b0f35a493f5b8c2687c5fd204c2628538 (patch)
treeb87012974031bf0c97df0a375f0ec193640e0f3d
parentworkflows/test: upgrade actions (diff)
downloadsetup-cygwin-3.0.1.tar.gz
setup-cygwin-3.0.1.zip
downgrade Chocolateyv3.0.1v3
I don't know why, but versions past 1.1.0 don't work with --source=cygwin, they just don't install anything.
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',