fix(ci): exclude import helpers with path-scoped ?? pattern

Literal 工具.mq.md in the workflow shell can fail to match on runners;
limit ?? to structure/import so utils/工具 are skipped without dropping
other two-character public docs (数学, 文本, …).

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
cflmyandCursor committed 2026-08-28 12:15:20 +08:00
1 parent 6db3da1cc0
commit 724a22e48d
1 file changed
+1 -1
+1 -1
View File
@@ -29,7 +29,7 @@ jobs:
run: |
cargo build --release
# Skip import helpers (no `# main`); exclude both EN/ZH names.
find public -name '*.mq.md' ! -name 'utils.mq.md' ! -name '工具.mq.md' -print0 \
find public -name '*.mq.md' ! -path '*/structure/import/utils.mq.md' ! -path '*/structure/import/??.mq.md' -print0 \
| xargs -0 -n1 ./target/release/marqdo run
./target/release/marqdo view output public -o public