Skip to content

Commit 783d5c1

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 3b6b0f1 commit 783d5c1

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
@@ -188,7 +188,7 @@ jobs:
188188
- name: Install Antora CLI
189189
run: |
190190
echo "Installing Antora packages local..."
191-
npm install --global antora@3.1.7 @antora/lunr-extension @antora/pdf-extension @node-rs/jieba
191+
npm install --global antora@3.1.7 @antora/lunr-extension @antora/pdf-extension@1.0.0-beta.20 @node-rs/jieba
192192
193193
- name: Build English Documentation
194194
working-directory: ./ivory-doc-builder

‎.github/workflows/pr-preview.yml‎

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

0 commit comments

Comments
 (0)