From 1b119ff06b81a7a99c6e5e1336d02beb599ae2ed Mon Sep 17 00:00:00 2001 From: Arseniy Obolenskiy Date: Fri, 4 Oct 2024 21:48:50 +0300 Subject: [PATCH] Build *.tex files twice Enable 2 pass build to get correct total slides count --- .github/workflows/build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9bbb956..782c207 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,6 +21,7 @@ jobs: - name: Build run: | find . -iname '*.tex' -execdir pdflatex -output-directory $GITHUB_WORKSPACE {} \; || exit 1 + find . -iname '*.tex' -execdir pdflatex -output-directory $GITHUB_WORKSPACE {} \; || exit 1 - uses: actions/upload-artifact@v4 with: name: pdf-linux @@ -40,6 +41,7 @@ jobs: run: | eval "$(/usr/libexec/path_helper)" find . -iname '*.tex' -execdir pdflatex -output-directory $GITHUB_WORKSPACE {} \; || exit 1 + find . -iname '*.tex' -execdir pdflatex -output-directory $GITHUB_WORKSPACE {} \; || exit 1 - uses: actions/upload-artifact@v4 with: name: pdf-macos