Skip to content

Commit fe04147

Browse files
hs-liuxhclaude
andcommitted
ci: pin @antora/pdf-extension to 1.0.0-beta.20
@antora/pdf-extension@1.0.0-rc.1 (published 2026-06-29) bundles @antora/assembler@1.0.0-rc.1, which calls contentCatalog.createFile() — a method absent from @antora/content-classifier@3.1.10 used by the pinned antora@3.1.7. The unpinned install began resolving to rc.1, causing 'FATAL (antora): contentCatalog.createFile is not a function'. Pin to the last-known-good 1.0.0-beta.20 to restore the working toolchain. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 57ce182 commit fe04147

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/merge-build-push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ jobs:
192192
- name: Install Antora CLI
193193
run: |
194194
echo "Installing Antora packages local..."
195-
npm install --global antora@3.1.7 @antora/lunr-extension @antora/pdf-extension @node-rs/jieba
195+
npm install --global antora@3.1.7 @antora/lunr-extension @antora/pdf-extension@1.0.0-beta.20 @node-rs/jieba
196196
197197
- name: Build English Documentation
198198
working-directory: ./ivory-doc-builder

.github/workflows/pr-preview.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ jobs:
107107
- name: Install Antora CLI
108108
run: |
109109
echo "Installing Antora packages local..."
110-
npm install --global antora@3.1.7 @antora/lunr-extension @antora/pdf-extension @node-rs/jieba
110+
npm install --global antora@3.1.7 @antora/lunr-extension @antora/pdf-extension@1.0.0-beta.20 @node-rs/jieba
111111
112112
- name: Build English Documentation
113113
working-directory: ./ivory-doc-builder

0 commit comments

Comments
 (0)