aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-07-02 15:28:14 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-07-02 15:28:39 +0300
commit4785090c89d2fc5e8e499f79f2e83878f507dacb (patch)
treeeed813aa3711e0768022510d35ecd9de42cc675a
parentworkflows/test: use *-latest images (diff)
downloadsetup-clang-4785090c89d2fc5e8e499f79f2e83878f507dacb.tar.gz
setup-clang-4785090c89d2fc5e8e499f79f2e83878f507dacb.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 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