Skip to content

Commit

Permalink
try ::notice::
Browse files Browse the repository at this point in the history
  • Loading branch information
plowsof committed Oct 2, 2024
1 parent 698891b commit e4be8f6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions shared_functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ download_file() {
fi
done
[ -f "$filename.tmp" ] && rm "$filename.tmp"
echo "::warning::Failed to download $filename from $url"
echo "::notice::Failed to download $filename from $url"
return 1
}

Expand Down Expand Up @@ -379,7 +379,7 @@ download_from_mirrors() {
fi
echo "Download failed from $mirror_url, trying next mirror"
done
echo "::warning::Failed to download $filename from all mirrors"
echo "::notice::Failed to download $filename from all mirrors"
return 1
}

Expand All @@ -392,7 +392,7 @@ check_md5sum() {
if [ "$calculated_md5" = "$expected_md5" ]; then
return 0
else
echo "::warning::Hash mismatch for ${filename} expected: ${expected_md5} got: ${calculated_md5}"
echo "::notice::Hash mismatch for ${filename} expected: ${expected_md5} got: ${calculated_md5}"
return 1
fi
}
Expand All @@ -411,7 +411,7 @@ download_tarball_from_mirrors() {
echo "Downloaded successfully from $url"
return 0
else
echo "::warning::Failed to download from $url, trying next mirror if available."
echo "::notice::Failed to download from $url, trying next mirror if available."
fi
done

Expand Down

0 comments on commit e4be8f6

Please sign in to comment.