Skip to content

Commit a3c88c7

Browse files
committed
chore: add step to prepare artifacts directory in CI workflow. This update introduces a new job step to create the artifacts directory before building the prebuilt index, ensuring the directory exists for storing output files.
1 parent 72f5608 commit a3c88c7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,11 @@ jobs:
5757
toolchain: stable
5858
override: true
5959

60+
- name: Prepare artifacts directory
61+
run: mkdir -p artifacts
62+
6063
- name: Build prebuilt index
61-
run: cargo run --bin build_index -- mc/site/docs artifacts/prebuilt_index.jsonl || ls -lR mc/site/docs || ls -lR mc/
64+
run: cargo run --bin build_index -- mc/site/docs artifacts/prebuilt_index.jsonl || ls -lR mc/site/docs
6265

6366
- name: Compress index
6467
run: gzip -9 -f artifacts/prebuilt_index.jsonl

0 commit comments

Comments
 (0)