Skip to content

Commit b920c23

Browse files
committed
ci(linux): expose apt setup stage and progress
1 parent a6fd20a commit b920c23

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

‎.github/workflows/linux.yml‎

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,7 @@ jobs:
5151
# PRs, which reported as a red check on branches that never ran a line of project code.
5252
# Two bounds fix that: apt retries and times out each mirror request itself (a blip
5353
# self-heals without a manual re-run), and `timeout-minutes` is the backstop for a mirror
54-
# that drips bytes slowly enough to defeat the socket timeout. A healthy install takes
55-
# about a minute, so six is generous.
54+
# that drips bytes slowly enough to defeat the socket timeout.
5655
- name: Install Linux desktop dependencies
5756
timeout-minutes: 6
5857
run: |
@@ -64,8 +63,11 @@ jobs:
6463
# The runner's own unattended-upgrades timer holds the dpkg lock; wait, don't hang.
6564
-o DPkg::Lock::Timeout=60
6665
)
67-
sudo apt-get update -qq "${APT_OPTS[@]}"
68-
sudo apt-get install -y -qq "${APT_OPTS[@]}" \
66+
printf 'APT update start (UTC): %s\n' "$(date -u +%Y-%m-%dT%H:%M:%SZ)"
67+
sudo apt-get update "${APT_OPTS[@]}"
68+
printf 'APT update complete (UTC): %s\n' "$(date -u +%Y-%m-%dT%H:%M:%SZ)"
69+
printf 'APT install start (UTC): %s\n' "$(date -u +%Y-%m-%dT%H:%M:%SZ)"
70+
sudo apt-get install -y "${APT_OPTS[@]}" \
6971
xvfb \
7072
xdotool \
7173
scrot \
@@ -76,6 +78,7 @@ jobs:
7678
dbus-x11 \
7779
gnome-calculator \
7880
wmctrl
81+
printf 'APT install complete (UTC): %s\n' "$(date -u +%Y-%m-%dT%H:%M:%SZ)"
7982
8083
- name: Setup toolchain
8184
uses: ./.github/actions/setup-node-pnpm

0 commit comments

Comments
 (0)