From eafdb240ea4b9e3397703f94482f6568b9a224ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mart=C3=ADn=20Lucas=20Golini?= Date: Fri, 1 May 2026 02:55:58 -0300 Subject: [PATCH] Try an alternative. --- .github/workflows/ecode-nightly.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ecode-nightly.yml b/.github/workflows/ecode-nightly.yml index 7af8462be..40e158dd0 100644 --- a/.github/workflows/ecode-nightly.yml +++ b/.github/workflows/ecode-nightly.yml @@ -75,6 +75,7 @@ jobs: run: | bash projects/scripts/patch_commit_number.sh - name: Install dependencies + shell: bash run: | apt-get install -y curl libfuse2 fuse premake4 mesa-common-dev libgl1-mesa-dev sudo file appstream curl -fsSL https://deb.nodesource.com/setup_lts.x | bash - @@ -85,12 +86,12 @@ jobs: SUCCESS=false for i in {1..3}; do echo "Attempt $i: Adding PPA via Launchpad API..." - if sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test; then + if timeout 30s sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test; then SUCCESS=true echo "Successfully added PPA." break fi - echo "Launchpad API failed. Retrying in 5 seconds..." + echo "Launchpad API failed or timed out. Retrying in 5 seconds..." sleep 5 done