From 700364f804c2e3e3059c5bf9fa1e1cbe71609190 Mon Sep 17 00:00:00 2001 From: John Seidenberg Date: Fri, 4 Dec 2026 05:37:52 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=AA=20TEST:=20Pin=20TeX=20Live=20image?= =?UTF-8?q?=20in=20PDF=20CI=20workflow?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/test-formats.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test-formats.yml b/.github/workflows/test-formats.yml index c41a66c9..9c73934a 100644 --- a/.github/workflows/test-formats.yml +++ b/.github/workflows/test-formats.yml @@ -55,12 +55,15 @@ jobs: run: | sphinx-build -nW --keep-going -b ${{ matrix.format }} docs/ docs/_build/${{ matrix.format }} - name: Make PDF - uses: xu-cheng/latex-action@v2 + uses: xu-cheng/latex-action@v3 with: + # TeX Live 2026 snapshot. Review annually and verify the PDF build before bumping. + docker_image: ghcr.io/xu-cheng/texlive-full:20261001 working_directory: docs/_build/latex root_file: "mystparser.tex" # https://github.com/marketplace/actions/github-action-for-latex#it-fails-due-to-xindy-cannot-be-found pre_compile: | + export XINDYOPTS="-L english -C utf8 -M sphinx.xdy" ln -sf /opt/texlive/texdir/texmf-dist/scripts/xindy/xindy.pl /opt/texlive/texdir/bin/x86_64-linuxmusl/xindy ln -sf /opt/texlive/texdir/texmf-dist/scripts/xindy/texindy.pl /opt/texlive/texdir/bin/x86_64-linuxmusl/texindy wget https://sourceforge.net/projects/xindy/files/xindy-source-components/2.4/xindy-kernel-3.0.tar.gz @@ -71,5 +74,3 @@ jobs: make cp -f xindy.mem /opt/texlive/texdir/bin/x86_64-linuxmusl/ cd ../../ - env: - XINDYOPTS: -L english -C utf8 -M sphinx.xdy