Skip to content

Commit ba6c2d0

Browse files
committed
chore: update CI workflow to include error handling for index build step. This change adds a fallback command to list directory contents if the build index step fails, improving troubleshooting capabilities.
1 parent 501eda4 commit ba6c2d0

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
override: true
5353

5454
- name: Build prebuilt index
55-
run: cargo run --bin build_index -- mc/site/docs artifacts/prebuilt_index.jsonl
55+
run: cargo run --bin build_index -- mc/site/docs artifacts/prebuilt_index.jsonl || ls -lR mc/site/docs || ls -lR mc/
5656

5757
- name: Compress index
5858
run: gzip -9 -f artifacts/prebuilt_index.jsonl
@@ -62,6 +62,3 @@ jobs:
6262
with:
6363
name: prebuilt_index.jsonl.gz
6464
path: artifacts/prebuilt_index.jsonl.gz
65-
66-
- name: Debug List mc/site/docs
67-
run: ls -lR mc/site/docs || ls -lR mc/

0 commit comments

Comments
 (0)