1 parent 14a92dd commit 7aec2aeCopy full SHA for 7aec2ae
1 file changed
.github/workflows/rust-release.yml
@@ -43,8 +43,12 @@ jobs:
43
shell: bash
44
run: |
45
set -euo pipefail
46
- sudo apt-get update -y
47
- sudo DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends pkg-config libcap-dev libubsan1
+ apt_retry_args=(
+ -o Acquire::Retries=5
48
+ -o Acquire::http::Timeout=30
49
+ )
50
+ sudo apt-get "${apt_retry_args[@]}" update -y
51
+ sudo DEBIAN_FRONTEND=noninteractive apt-get "${apt_retry_args[@]}" install -y --no-install-recommends pkg-config libcap-dev libubsan1
52
53
- uses: dtolnay/rust-toolchain@1.93.0
54
with:
0 commit comments