From 4785090c89d2fc5e8e499f79f2e83878f507dacb Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Fri, 2 Jul 2021 15:28:14 +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 e8dd66b..9cbf940 100644 --- a/action.yml +++ b/action.yml @@ -47,8 +47,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