diff --git a/.github/workflows/report-main.yml b/.github/workflows/report-main.yml index b9c47cd3..dc1f0dc0 100644 --- a/.github/workflows/report-main.yml +++ b/.github/workflows/report-main.yml @@ -102,7 +102,12 @@ jobs: if: runner.os == 'linux' run: | sudo apt-get update -y -qq - sudo add-apt-repository ppa:kisak/turtle -y + sudo add-apt-repository ppa:kisak/turtle -y || FAILED=true + # retry as it sometimes timeout + if [ $FAILED ]; then + sleep 5 + sudo add-apt-repository ppa:kisak/turtle -y + fi sudo apt-get update sudo apt install -y xvfb libegl1-mesa libgl1-mesa-dri libxcb-xfixes0-dev mesa-vulkan-drivers @@ -427,7 +432,12 @@ jobs: if: runner.os == 'linux' run: | sudo apt-get update -y -qq - sudo add-apt-repository ppa:kisak/turtle -y + sudo add-apt-repository ppa:kisak/turtle -y || FAILED=true + # retry as it sometimes timeout + if [ $FAILED ]; then + sleep 5 + sudo add-apt-repository ppa:kisak/turtle -y + fi sudo apt-get update sudo apt install -y xvfb libegl1-mesa libgl1-mesa-dri libxcb-xfixes0-dev mesa-vulkan-drivers diff --git a/.github/workflows/report-pr.yml b/.github/workflows/report-pr.yml index 69f484bf..2747eb40 100644 --- a/.github/workflows/report-pr.yml +++ b/.github/workflows/report-pr.yml @@ -85,7 +85,12 @@ jobs: if: runner.os == 'linux' run: | sudo apt-get update -y -qq - sudo add-apt-repository ppa:kisak/turtle -y + sudo add-apt-repository ppa:kisak/turtle -y || FAILED=true + # retry as it sometimes timeout + if [ $FAILED ]; then + sleep 5 + sudo add-apt-repository ppa:kisak/turtle -y + fi sudo apt-get update sudo apt install -y xvfb libegl1-mesa libgl1-mesa-dri libxcb-xfixes0-dev mesa-vulkan-drivers diff --git a/.github/workflows/upkeep-update-cache.yml b/.github/workflows/upkeep-update-cache.yml index ed715fe7..012723af 100644 --- a/.github/workflows/upkeep-update-cache.yml +++ b/.github/workflows/upkeep-update-cache.yml @@ -48,7 +48,12 @@ jobs: if: runner.os == 'linux' run: | sudo apt-get update -y -qq - sudo add-apt-repository ppa:kisak/turtle -y + sudo add-apt-repository ppa:kisak/turtle -y || FAILED=true + # retry as it sometimes timeout + if [ $FAILED ]; then + sleep 5 + sudo add-apt-repository ppa:kisak/turtle -y + fi sudo apt-get update sudo apt install -y xvfb libegl1-mesa libgl1-mesa-dri libxcb-xfixes0-dev mesa-vulkan-drivers diff --git a/.github/workflows/workflow-wasm.yml b/.github/workflows/workflow-wasm.yml index 970075e5..2ab661f8 100644 --- a/.github/workflows/workflow-wasm.yml +++ b/.github/workflows/workflow-wasm.yml @@ -68,7 +68,12 @@ jobs: if: runner.os == 'linux' run: | sudo apt-get update -y -qq - sudo add-apt-repository ppa:kisak/turtle -y + sudo add-apt-repository ppa:kisak/turtle -y || FAILED=true + # retry as it sometimes timeout + if [ $FAILED ]; then + sleep 5 + sudo add-apt-repository ppa:kisak/turtle -y + fi sudo apt-get update sudo apt install -y xvfb libegl1-mesa libgl1-mesa-dri libxcb-xfixes0-dev mesa-vulkan-drivers