test
Some checks failed
Generate Map Previews for Switzerland25 Tournament / Full CI/CD Pipeline (push) Failing after 7s
Some checks failed
Generate Map Previews for Switzerland25 Tournament / Full CI/CD Pipeline (push) Failing after 7s
This commit is contained in:
@@ -122,6 +122,13 @@ jobs:
|
||||
START=$(echo "$ENTRY" | jq -r '.start' 2>/dev/null)
|
||||
END=$(echo "$ENTRY" | jq -r '.end' 2>/dev/null)
|
||||
|
||||
# Check if timestamps are valid numbers
|
||||
if ! [[ "$START" =~ ^[0-9]+$ ]] || ! [[ "$END" =~ ^[0-9]+$ ]]; then
|
||||
echo " Invalid timestamp format for $REPLAY_NAME - skipping"
|
||||
((skipped++))
|
||||
continue
|
||||
fi
|
||||
|
||||
if [ "$START" -eq 0 ] && [ "$END" -eq 0 ]; then
|
||||
echo " Invalid timestamps (0,0) for $REPLAY_NAME - skipping"
|
||||
((skipped++))
|
||||
@@ -173,6 +180,9 @@ jobs:
|
||||
echo "Summary:"
|
||||
echo " Videos processed: $processed"
|
||||
echo " Files skipped: $skipped"
|
||||
|
||||
# Exit successfully even if no videos were processed
|
||||
exit 0
|
||||
|
||||
- name: Configure Git
|
||||
shell: bash
|
||||
|
||||
Reference in New Issue
Block a user