Compare commits

..

1 Commits

Author SHA1 Message Date
9121c6bda6 feat: check if zip file is valid
Some checks failed
Build / build (pull_request) Successful in 38s
Deploy / deploy (pull_request) Failing after 1m18s
- test the zip file to ensure its valid
2024-12-30 00:28:11 +11:00

View File

@ -27,7 +27,7 @@ jobs:
echo "Attempting to download plans from ${PLANS_URL}"
while [ $RETRY_COUNT -lt $MAX_RETRIES ]; do
# Download the file
curl -L -o /workspace/plans.zip "${PLANS_URL}" --fail --silent
curl -L -o /workspace/plans.zip "${PLANS_URL}"
# Validate if it is a valid ZIP
if unzip -t /workspace/plans.zip > /dev/null 2>&1; then
echo "Plans file downloaded and verified successfully."