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