GitHub Actions: 移除冗余的命令输出日志以简化脚本

This commit is contained in:
2026-01-29 19:12:08 +08:00
parent cee6bc1027
commit 39d4f9c730

View File

@@ -48,7 +48,7 @@ jobs:
printf "%s\n" "$NOTIFY_CURLS" | while read -r line; do
if [ -n "$line" ]; then
if [[ "$line" =~ ^[0-9] ]]; then
echo "Pausing for $line ms..."
echo "Pausing for $line ms...."
sleep "$(awk "BEGIN {print $line/1000}")" || true
elif [[ "$line" == curl* ]]; then
eval "$line -w \"\\nHTTP Status: %{http_code}\\n\"" || true