trigger build

This commit is contained in:
Domipoke
2026-07-26 20:28:13 +02:00
parent 8e62d7bffe
commit 4a4746a532
+7 -9
View File
@@ -34,15 +34,13 @@ jobs:
- name: Compile changed root files - name: Compile changed root files
if: steps.changed.outputs.roots != '' if: steps.changed.outputs.roots != ''
uses: docker://texlive/texlive:latest uses: docker://texlive/texlive:latest
run: | with:
mkdir -p pdf aux entrypoint: sh
for f in ${{ steps.changed.outputs.roots }}; do args: >-
echo "== Building $f ==" -c "mkdir -p pdf aux && for f in ${{ steps.changed.outputs.roots }}; do
latexmk -pdf -interaction=nonstopmode -halt-on-error \ echo Building $f;
-outdir=pdf -auxdir=aux "$f" latexmk -pdf -interaction=nonstopmode -halt-on-error -outdir=pdf -auxdir=aux \"$f\" || exit 1;
done done && find pdf -type f ! -name '*.pdf' -delete"
# keep pdf/ containing only pdfs
find pdf -type f ! -name '*.pdf' -delete
- name: Upload built PDFs - name: Upload built PDFs
if: steps.changed.outputs.roots != '' if: steps.changed.outputs.roots != ''