trigger build
This commit is contained in:
@@ -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 != ''
|
||||
|
||||
Reference in New Issue
Block a user