CI: Retry failed downloads to reduce spurious failures

A temporary error with a remote server shouldn't cause a CI run to fail.
Also, put a cap on the time to download to fail faster on a misbehaving
server or connection and use HTTP compression where possible to reduce
download times.
This commit is contained in:
Dan Fandrich 2023-02-09 12:06:12 -08:00
parent 33866a31c3
commit bfb9838380
3 changed files with 6 additions and 6 deletions

View file

@ -50,7 +50,7 @@ jobs:
name: 'install prereqs and impacket'
- run: |
curl -LO https://github.com/wolfSSL/wolfssl/archive/v5.5.4-stable.tar.gz
curl -LOsSf --retry 6 --retry-connrefused --max-time 999 https://github.com/wolfSSL/wolfssl/archive/v5.5.4-stable.tar.gz
tar -xzf v5.5.4-stable.tar.gz
cd wolfssl-5.5.4-stable
./autogen.sh