Compare commits
1 Commits
9121c6bda6
...
1f2d64067e
| Author | SHA1 | Date | |
|---|---|---|---|
| 1f2d64067e |
@ -27,7 +27,7 @@ jobs:
|
|||||||
echo "Attempting to download plans from ${PLANS_URL}"
|
echo "Attempting to download plans from ${PLANS_URL}"
|
||||||
while [ $RETRY_COUNT -lt $MAX_RETRIES ]; do
|
while [ $RETRY_COUNT -lt $MAX_RETRIES ]; do
|
||||||
# Download the file
|
# Download the file
|
||||||
curl -L -o /workspace/plans.zip "${PLANS_URL}"
|
curl -L -o /workspace/plans.zip "${PLANS_URL}" --fail --silent
|
||||||
# Validate if it is a valid ZIP
|
# Validate if it is a valid ZIP
|
||||||
if unzip -t /workspace/plans.zip > /dev/null 2>&1; then
|
if unzip -t /workspace/plans.zip > /dev/null 2>&1; then
|
||||||
echo "Plans file downloaded and verified successfully."
|
echo "Plans file downloaded and verified successfully."
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user