From 6d6bd857f06ad8271e1115f57536c17eb7159f9f Mon Sep 17 00:00:00 2001 From: gushmazuko <34921843+gushmazuko@users.noreply.github.com> Date: Wed, 17 Apr 2024 12:58:35 +0000 Subject: [PATCH] test --- .github/workflows/test.yml | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9951bc4..8f7f33a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -27,24 +27,24 @@ jobs: run: | echo "TERM=xterm" >> $GITHUB_ENV - - name: Check DNS readiness - run: | - echo "Checking DNS readiness..." - max_attempts=$((2 * 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 + # - name: Check DNS readiness + # run: | + # echo "Checking DNS readiness..." + # max_attempts=$((2 * 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 - name: Update packages run: |