Skip to content

Commit e125c57

Browse files
committed
chore: collect more debug logs
1 parent c1c6e94 commit e125c57

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

.github/workflows/playground-test.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -155,11 +155,9 @@ jobs:
155155
SESSION_DIR=$(ls -td ~/.local/state/builder-playground/sessions/*/ 2>/dev/null | head -1)
156156
if [ -n "$SESSION_DIR" ]; then
157157
echo "Session dir: $SESSION_DIR"
158-
ls -la "$SESSION_DIR" 2>/dev/null || true
159-
for log in "$SESSION_DIR"/*.log; do
160-
[ -f "$log" ] || continue
161-
echo "--- $(basename "$log") ---"
162-
cat "$log"
158+
find "$SESSION_DIR/logs" -type f 2>/dev/null | while read -r f; do
159+
echo "--- ${f#$SESSION_DIR/logs/} ---"
160+
cat "$f"
163161
done
164162
else
165163
echo "no session directory found"

0 commit comments

Comments
 (0)