From ddf86b4397addc579679b07c4bb220ddebc31e92 Mon Sep 17 00:00:00 2001 From: Alfred Gedeon Date: Wed, 16 Sep 2020 14:13:12 -0700 Subject: [PATCH] add echo --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index aa4502ab8..af1220f25 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,6 +25,7 @@ jobs: while IFS= read -r LINE; do FILE=$(echo $LINE | cut -f 1 -d ':') URL=$(echo $LINE | grep -IoE '\b(https?|ftp|file)://[-A-Za-z0-9+&@#/%?=~_|!:,.;]*[-A-Za-z0-9+&@#/%=~_|]') + echo "URL: $URL FILE $FILE" # remove trailing / if it exists curl diferenciate between links with # and without / at the end @@ -32,6 +33,7 @@ jobs: dict+=(["$URL"]="$FILE ") done < <(grep -e 'https\?://' . -RIa --exclude='*.exe' --exclude-dir=.git | tr '*' ' ') + echo "Second run" for UNIQ_URL in ${!dict[@]} # loop urls do CURL_RES=$(curl -I ${UNIQ_URL} 2>/dev/null| head -n 1 | cut -f 2 -d ' ')