CI: retry apt operations
This commit is contained in:
parent
098b54c9f9
commit
6a49bffff2
|
@ -33,7 +33,9 @@ jobs:
|
|||
cargo-${{ matrix.rust }}-
|
||||
cargo-
|
||||
- name: Install dependencies
|
||||
run: sudo apt-get update && sudo apt-get install libncurses-dev libsqlite3-dev pkgconf
|
||||
# The retry here is to work around "Unable to connect to azure.archive.ubuntu.com" errors.
|
||||
# https://github.com/actions/runner-images/issues/6894
|
||||
run: sudo apt-get --option=APT::Acquire::Retries=3 update && sudo apt-get --option=APT::Acquire::Retries=3 install libncurses-dev libsqlite3-dev pkgconf
|
||||
- name: Install Rust
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
|
|
Loading…
Reference in New Issue