This commit is contained in:
Domipoke
2026-07-29 15:47:53 +02:00
parent 3688fb8f1c
commit d61a9c0fca
+7 -3
View File
@@ -32,9 +32,13 @@ jobs:
with: with:
entrypoint: sh entrypoint: sh
args: >- args: >-
-c "mkdir -p pdf aux .texcache/texmf-var .texcache/xdg && for f in ${{ steps.roots.outputs.roots }}; do -c "mkdir -p pdf aux .texcache/texmf-var .texcache/xdg &&
echo Building $f; apt-get update -y &&
latexmk -xelatex -shell-escape -interaction=nonstopmode -halt-on-error -outdir=pdf -auxdir=aux \"$f\" || exit 1; apt-get install -y python3-pip &&
pip3 install pygments &&
for f in ${{ steps.roots.outputs.roots }}; do
echo Building $f;
latexmk -xelatex -shell-escape -interaction=nonstopmode -halt-on-error -outdir=pdf -auxdir=aux \"$f\" || exit 1;
done && find pdf -type f ! -name '*.pdf' -delete" done && find pdf -type f ! -name '*.pdf' -delete"
- name: Upload built PDFs - name: Upload built PDFs