We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3f149a9 commit 906766dCopy full SHA for 906766d
1 file changed
.github/workflows/ci.yml
@@ -441,7 +441,9 @@ jobs:
441
echo "GHA_CONTAINER=${{matrix.container}}" >> $GITHUB_ENV
442
if [ -f "/etc/debian_version" ]
443
then
444
- apt-get -o Acquire::Retries=$NET_RETRY_COUNT update
+ for i in $(seq 1 $NET_RETRY_COUNT); do
445
+ apt-get update && break || sleep 5
446
+ done
447
if [ "$(apt-cache search "^python-is-python3$" | wc -l)" -ne 0 ]
448
449
PYTHON_PACKAGE="python-is-python3"
@@ -507,7 +509,9 @@ jobs:
507
509
done
508
510
511
fi
- sudo apt-get -o Acquire::Retries=$NET_RETRY_COUNT update
512
513
514
515
sudo apt-get -o Acquire::Retries=$NET_RETRY_COUNT install -y ${{join(matrix.install, ' ')}}
516
517
- name: Setup GCC Toolchain
0 commit comments