Skip to content

Commit 6c3116a

Browse files
prontclaude
andauthored
chore(ci): retry apt fetches in deb-verify to reduce flakes (#25367)
Set Acquire::Retries=5 and Acquire::http::Timeout=30 on the apt-get calls in the deb-verify job so transient connection failures to the Ubuntu mirrors don't fail the whole job. Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 4524b52 commit 6c3116a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,8 +204,8 @@ jobs:
204204
image: ${{ matrix.container }}
205205
steps:
206206
- run: |
207-
apt-get update && \
208-
apt-get install -y \
207+
apt-get -o Acquire::Retries=5 -o Acquire::http::Timeout=30 update && \
208+
apt-get -o Acquire::Retries=5 -o Acquire::http::Timeout=30 install -y \
209209
ca-certificates \
210210
curl \
211211
git \

0 commit comments

Comments
 (0)