From 84d815b63550e82ea016b100e7fae17fe420bff9 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Fri, 2 Jul 2021 15:31:08 +0300 Subject: apt-get best scripting practices --- action.yml | 4 ++-- 1 file 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 -- cgit v1.2.3