We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 24ba9c1 + 79ccf75 commit 79db8a5Copy full SHA for 79db8a5
1 file changed
.github/workflows/sphinxbuild.yml
@@ -42,7 +42,13 @@ jobs:
42
- name: Download LaTeX packages (cache miss only)
43
if: steps.cache-latex-apt.outputs.cache-hit != 'true'
44
run: |
45
- sudo DEBIAN_FRONTEND=noninteractive apt-get update -o Dir::State::lists="${{ runner.temp }}/.cache/lists"
+ for i in 1 2 3; do
46
+ sudo DEBIAN_FRONTEND=noninteractive apt-get update \
47
+ -o Dir::State::lists="${{ runner.temp }}/.cache/lists" \
48
+ -o Acquire::Retries=3 && break
49
+ echo "apt-get update failed (attempt $i), retrying in 15s..."
50
+ sleep 15
51
+ done
52
sudo DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
53
--download-only \
54
-o Dir::State::lists="${{ runner.temp }}/.cache/lists" \
0 commit comments