Skip to content

fix(ci): pull Git LFS content before compiling arc42 PDF - #8

Merged
jravani merged 1 commit into
mainfrom
docs/arc42-and-openapi
Jul 17, 2026
Merged

fix(ci): pull Git LFS content before compiling arc42 PDF#8
jravani merged 1 commit into
mainfrom
docs/arc42-and-openapi

Conversation

@jravani

@jravani jravani commented Jul 17, 2026

Copy link
Copy Markdown
Member

The figure PDFs are tracked via Git LFS (*.pdf in .gitattributes), but actions/checkout doesn't fetch LFS content by default inside a custom container job. pdflatex was getting the LFS pointer text instead of the real PDF binary and failing to include it. Installs git-lfs and pulls before the build. Verified locally: a plain checkout without this step reproduces the exact xpdf/xref errors from the failed run; with git lfs pull, the same container builds documentation.pdf cleanly.

The figure PDFs are tracked via Git LFS (*.pdf in .gitattributes), but
actions/checkout doesn't fetch LFS content by default inside a custom
container job. pdflatex was getting the LFS pointer text instead of the
real PDF binary and failing to include it. Installs git-lfs and pulls
before the build. Verified locally: a plain checkout without this step
reproduces the exact xpdf/xref errors from the failed run; with git lfs
pull, the same container builds documentation.pdf cleanly.
@jravani
jravani merged commit 67b7eb5 into main Jul 17, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant