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