mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
add else if
This commit is contained in:
1 parent
ea125e8eb2
commit
f69653bd86
1 file changed
+12
@@ -371,6 +371,9 @@ jobs:
|
||||
for attempt in 1 2 3; do
|
||||
if docker compose pull --quiet --ignore-buildable; then
|
||||
break
|
||||
elif [ "$attempt" -eq 3 ]; then
|
||||
echo "::error::docker compose pull failed after 3 attempts; aborting"
|
||||
exit 1
|
||||
fi
|
||||
echo "::warning::docker compose pull failed (attempt ${attempt}/3); retrying in 15s"
|
||||
sleep 15
|
||||
@@ -470,6 +473,9 @@ jobs:
|
||||
for attempt in 1 2 3; do
|
||||
if docker compose pull --quiet --ignore-buildable; then
|
||||
break
|
||||
elif [ "$attempt" -eq 3 ]; then
|
||||
echo "::error::docker compose pull failed after 3 attempts; aborting"
|
||||
exit 1
|
||||
fi
|
||||
echo "::warning::docker compose pull failed (attempt ${attempt}/3); retrying in 15s"
|
||||
sleep 15
|
||||
@@ -562,6 +568,9 @@ jobs:
|
||||
for attempt in 1 2 3; do
|
||||
if docker compose pull --quiet --ignore-buildable; then
|
||||
break
|
||||
elif [ "$attempt" -eq 3 ]; then
|
||||
echo "::error::docker compose pull failed after 3 attempts; aborting"
|
||||
exit 1
|
||||
fi
|
||||
echo "::warning::docker compose pull failed (attempt ${attempt}/3); retrying in 15s"
|
||||
sleep 15
|
||||
@@ -629,6 +638,9 @@ jobs:
|
||||
for attempt in 1 2 3; do
|
||||
if docker compose pull --quiet --ignore-buildable; then
|
||||
break
|
||||
elif [ "$attempt" -eq 3 ]; then
|
||||
echo "::error::docker compose pull failed after 3 attempts; aborting"
|
||||
exit 1
|
||||
fi
|
||||
echo "::warning::docker compose pull failed (attempt ${attempt}/3); retrying in 15s"
|
||||
sleep 15
|
||||
|
||||
Reference in new issue
Block a user