Skip to content

Commit 66c929a

Browse files
committed
Do APT update; copy APT output to screen
1 parent c00dec7 commit 66c929a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

dev/github-actions/setup-deps.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ log "Installing dependencies for OS=$MATRIX_OS ..."
1818

1919
if [[ $MATRIX_OS == "ubuntu-latest" ]]
2020
then
21+
log "APT update ..."
22+
sudo apt-get update
23+
log "APT update OK."
2124
TOOL=( sudo apt-get install --yes )
2225
PKGS=(
2326
autoconf
@@ -70,7 +73,7 @@ if (
7073
set -eux
7174
# Install!
7275
${TOOL[@]} ${PKGS[@]}
73-
) 2>&1 >> tool.log
76+
) 2>&1 | tee tool.log
7477
then
7578
COUNT=${#PKGS[@]}
7679
T=$(( SECONDS - START ))

0 commit comments

Comments
 (0)