From 8abdefeae7a958487996085521be94c319db0fe0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois?= Date: Sat, 6 Apr 2024 16:48:13 +0200 Subject: [PATCH] retry moar --- .github/workflows/report-main.yml | 12 ++++++++++-- .github/workflows/report-pr.yml | 6 +++++- .github/workflows/upkeep-update-cache.yml | 6 +++++- .github/workflows/workflow-wasm.yml | 6 +++++- 4 files changed, 25 insertions(+), 5 deletions(-) diff --git a/.github/workflows/report-main.yml b/.github/workflows/report-main.yml index dc1f0dc0..cd9dabaa 100644 --- a/.github/workflows/report-main.yml +++ b/.github/workflows/report-main.yml @@ -106,7 +106,11 @@ jobs: # retry as it sometimes timeout if [ $FAILED ]; then sleep 5 - sudo add-apt-repository ppa:kisak/turtle -y + sudo add-apt-repository ppa:kisak/turtle -y || FAILED=true + if [ $FAILED ]; then + sleep 5 + sudo add-apt-repository ppa:kisak/turtle -y + fi fi sudo apt-get update sudo apt install -y xvfb libegl1-mesa libgl1-mesa-dri libxcb-xfixes0-dev mesa-vulkan-drivers @@ -436,7 +440,11 @@ jobs: # retry as it sometimes timeout if [ $FAILED ]; then sleep 5 - sudo add-apt-repository ppa:kisak/turtle -y + sudo add-apt-repository ppa:kisak/turtle -y || FAILED=true + if [ $FAILED ]; then + sleep 5 + sudo add-apt-repository ppa:kisak/turtle -y + fi 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 2747eb40..ea07225c 100644 --- a/.github/workflows/report-pr.yml +++ b/.github/workflows/report-pr.yml @@ -89,7 +89,11 @@ jobs: # retry as it sometimes timeout if [ $FAILED ]; then sleep 5 - sudo add-apt-repository ppa:kisak/turtle -y + sudo add-apt-repository ppa:kisak/turtle -y || FAILED=true + if [ $FAILED ]; then + sleep 5 + sudo add-apt-repository ppa:kisak/turtle -y + fi 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 012723af..4ad33c60 100644 --- a/.github/workflows/upkeep-update-cache.yml +++ b/.github/workflows/upkeep-update-cache.yml @@ -52,7 +52,11 @@ jobs: # retry as it sometimes timeout if [ $FAILED ]; then sleep 5 - sudo add-apt-repository ppa:kisak/turtle -y + sudo add-apt-repository ppa:kisak/turtle -y || FAILED=true + if [ $FAILED ]; then + sleep 5 + sudo add-apt-repository ppa:kisak/turtle -y + fi 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 2ab661f8..a56a0db7 100644 --- a/.github/workflows/workflow-wasm.yml +++ b/.github/workflows/workflow-wasm.yml @@ -72,7 +72,11 @@ jobs: # retry as it sometimes timeout if [ $FAILED ]; then sleep 5 - sudo add-apt-repository ppa:kisak/turtle -y + sudo add-apt-repository ppa:kisak/turtle -y || FAILED=true + if [ $FAILED ]; then + sleep 5 + sudo add-apt-repository ppa:kisak/turtle -y + fi fi sudo apt-get update sudo apt install -y xvfb libegl1-mesa libgl1-mesa-dri libxcb-xfixes0-dev mesa-vulkan-drivers