install-ubuntu: make output more readable with GitHub actions

Signed-off-by: Steven Noonan <steven@valvesoftware.com>
This commit is contained in:
Steven Noonan
2021-01-10 08:41:39 -08:00
parent 8494da6a9e
commit 33ff37f1eb
+6 -4
View File
@@ -4,11 +4,13 @@
#
set -ex
APT_FLAGS=(-q -oDpkg::Use-Pty=0)
export DEBIAN_FRONTEND=noninteractive
apt-get update
apt-get dist-upgrade -y
apt-get install -y locales
apt-get ${APT_FLAGS[@]} update
apt-get ${APT_FLAGS[@]} dist-upgrade -y
apt-get ${APT_FLAGS[@]} install -y locales
locale-gen en_US.UTF-8
PACKAGES=(
@@ -26,6 +28,6 @@ PACKAGES+=(libprotobuf-dev protobuf-compiler)
PACKAGES+=(libssl-dev)
PACKAGES+=(libsodium-dev)
apt-get install -y "${PACKAGES[@]}"
apt-get ${APT_FLAGS[@]} install -y "${PACKAGES[@]}"
exit 0