diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-01-15 19:57:48 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-01-15 19:57:48 +0300 |
commit | d3a49b4d5a28659e27c27b6d24e7c728f9307874 (patch) | |
tree | 39a28a24d9049d0049e5ecbe3d1a18932c3fef6b | |
parent | workflows/test.yml: setup-cygwin v3 (diff) | |
download | setup-gcc-d3a49b4d5a28659e27c27b6d24e7c728f9307874.tar.gz setup-gcc-d3a49b4d5a28659e27c27b6d24e7c728f9307874.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" } |