From 4a4746a53241d651999cc1a71097ad88f814c640 Mon Sep 17 00:00:00 2001 From: Domipoke <42298508+Domipoke@users.noreply.github.com> Date: Sun, 26 Jul 2026 20:28:13 +0200 Subject: [PATCH] trigger build --- .gitea/workflows/build-pdf.yml | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/.gitea/workflows/build-pdf.yml b/.gitea/workflows/build-pdf.yml index 6535b91..136f967 100644 --- a/.gitea/workflows/build-pdf.yml +++ b/.gitea/workflows/build-pdf.yml @@ -34,15 +34,13 @@ jobs: - name: Compile changed root files if: steps.changed.outputs.roots != '' uses: docker://texlive/texlive:latest - run: | - mkdir -p pdf aux - for f in ${{ steps.changed.outputs.roots }}; do - echo "== Building $f ==" - latexmk -pdf -interaction=nonstopmode -halt-on-error \ - -outdir=pdf -auxdir=aux "$f" - done - # keep pdf/ containing only pdfs - find pdf -type f ! -name '*.pdf' -delete + with: + entrypoint: sh + args: >- + -c "mkdir -p pdf aux && for f in ${{ steps.changed.outputs.roots }}; do + echo Building $f; + latexmk -pdf -interaction=nonstopmode -halt-on-error -outdir=pdf -auxdir=aux \"$f\" || exit 1; + done && find pdf -type f ! -name '*.pdf' -delete" - name: Upload built PDFs if: steps.changed.outputs.roots != ''