diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-01-15 19:58:01 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-01-15 19:58:01 +0300 |
commit | d16e36d5f8a7eb00aa6627c1a536d94dfc4a913d (patch) | |
tree | 216cdbf840b20bc18d3f28616c4498a94b146137 | |
parent | workflows/test.yml: setup-cygwin v3 (diff) | |
download | setup-clang-d16e36d5f8a7eb00aa6627c1a536d94dfc4a913d.tar.gz setup-clang-d16e36d5f8a7eb00aa6627c1a536d94dfc4a913d.zip |
choco scripting best practices
-rw-r--r-- | action.yml | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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" } |