mirror of
https://git.fightbot.fun/hxuanyu/BingPaper.git
synced 2026-02-15 18:49:31 +08:00
GitHub Actions: 移除冗余的命令输出日志以简化脚本
This commit is contained in:
2
.github/workflows/verify.yml
vendored
2
.github/workflows/verify.yml
vendored
@@ -48,7 +48,7 @@ jobs:
|
|||||||
printf "%s\n" "$NOTIFY_CURLS" | while read -r line; do
|
printf "%s\n" "$NOTIFY_CURLS" | while read -r line; do
|
||||||
if [ -n "$line" ]; then
|
if [ -n "$line" ]; then
|
||||||
if [[ "$line" =~ ^[0-9] ]]; then
|
if [[ "$line" =~ ^[0-9] ]]; then
|
||||||
echo "Pausing for $line ms..."
|
echo "Pausing for $line ms...."
|
||||||
sleep "$(awk "BEGIN {print $line/1000}")" || true
|
sleep "$(awk "BEGIN {print $line/1000}")" || true
|
||||||
elif [[ "$line" == curl* ]]; then
|
elif [[ "$line" == curl* ]]; then
|
||||||
eval "$line -w \"\\nHTTP Status: %{http_code}\\n\"" || true
|
eval "$line -w \"\\nHTTP Status: %{http_code}\\n\"" || true
|
||||||
|
|||||||
Reference in New Issue
Block a user