There was an error while loading. Please reload this page.
1 parent 9cf05b9 commit 19c2107Copy full SHA for 19c2107
1 file changed
.github/workflows/rust.yml
@@ -40,9 +40,15 @@ jobs:
40
persist-credentials: false
41
42
- name: Tauri Linux prerequisites
43
+ # Short per-request timeouts + retries: the runner's apt mirror occasionally
44
+ # stalls for the whole job; fail fast and retry instead of hanging for 45 min.
45
+ timeout-minutes: 10
46
+ env:
47
+ DEBIAN_FRONTEND: noninteractive
48
+ APT_OPTS: -o Acquire::http::Timeout=20 -o Acquire::https::Timeout=20 -o Acquire::Retries=3
49
run: |
- sudo apt-get update
- sudo apt-get install -y --no-install-recommends \
50
+ for i in 1 2 3; do sudo apt-get update $APT_OPTS && break || sleep 10; done
51
+ sudo apt-get install -y --no-install-recommends $APT_OPTS \
52
libwebkit2gtk-4.1-dev build-essential curl wget file libxdo-dev \
53
libssl-dev libayatana-appindicator3-dev librsvg2-dev
54
0 commit comments