aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-07-02 15:31:08 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-07-02 15:31:08 +0300
commit84d815b63550e82ea016b100e7fae17fe420bff9 (patch)
tree8cc712ce4c7723e6c44b44e62dd19edf321a232d
parentworkflows/test: use *-latest images (diff)
downloadsetup-mingw-84d815b63550e82ea016b100e7fae17fe420bff9.tar.gz
setup-mingw-84d815b63550e82ea016b100e7fae17fe420bff9.zip
apt-get best scripting practices
-rw-r--r--action.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/action.yml b/action.yml
index 6fceddb..d92d72e 100644
--- a/action.yml
+++ b/action.yml
@@ -71,8 +71,8 @@ runs:
)
if ($script:linux_host) {
- sudo apt-get update -yq
- sudo apt-get install -yq --no-install-recommends $Packages
+ sudo apt-get update
+ sudo DEBIAN_FRONTEND=noninteractive apt-get install -yq --no-install-recommends $Packages
} elseif ($script:cygwin_host) {
$choco = Locate-Choco
& $choco install $Packages -y --no-progress --source=cygwin