From ab28037ad9129778dc3bab15ea21b45640b2c69d Mon Sep 17 00:00:00 2001 From: gushmazuko <34921843+gushmazuko@users.noreply.github.com> Date: Wed, 17 Apr 2024 13:51:57 +0000 Subject: [PATCH] test --- .github/workflows/test.yml | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c03dacf..cb159bf 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,22 +12,7 @@ jobs: run: cat $PREFIX/etc/resolv.conf - name: wait dns run: | - echo "Checking DNS readiness..." - max_attempts=$((60 * 60 / 5)) - attempt=1 - while [ $attempt -le $max_attempts ]; do - if curl -Is https://termux.dev > /dev/null; then - echo "DNS is ready and HTTP request to Termux was successful." - break - else - if [ $attempt -eq $max_attempts ]; then - echo "Timeout reached. DNS is still not ready." - exit 1 - fi - attempt=$((attempt + 1)) - sleep 5 - fi - done + ping -c 4 1.1.1.1 - name: Log the node version run: | uname -a