diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2022-12-11 16:18:03 +0100 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-01-01 21:58:52 +0100 |
commit | 0c5b8b7b0f35a493f5b8c2687c5fd204c2628538 (patch) | |
tree | b87012974031bf0c97df0a375f0ec193640e0f3d | |
parent | workflows/test: upgrade actions (diff) | |
download | setup-cygwin-0c5b8b7b0f35a493f5b8c2687c5fd204c2628538.tar.gz setup-cygwin-0c5b8b7b0f35a493f5b8c2687c5fd204c2628538.zip |
I don't know why, but versions past 1.1.0 don't work with
--source=cygwin, they just don't install anything.
-rw-r--r-- | action.yml | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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', |