aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-07-02 14:56:56 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-07-02 14:56:56 +0300
commit460527f010e0e823795750dd92704f3ddb4def7e (patch)
tree201d196430642f7696a8c468ee0194f81710df0c
parentapt-get update doesn't need -yq (diff)
downloadsetup-gcc-460527f010e0e823795750dd92704f3ddb4def7e.tar.gz
setup-gcc-460527f010e0e823795750dd92704f3ddb4def7e.zip
apt-get best scripting practices
-rw-r--r--action.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/action.yml b/action.yml
index 3548458..aa32615 100644
--- a/action.yml
+++ b/action.yml
@@ -66,7 +66,7 @@ runs:
if ($script:linux_host) {
sudo apt-get update
- sudo apt-get install -yq --no-install-recommends $Packages
+ 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