Skip to content

Commit 0bcb40f

Browse files
committed
CI: Revert prev: don't cache APT-installed TeX
1 parent 2102851 commit 0bcb40f

File tree

1 file changed

+3
-13
lines changed

1 file changed

+3
-13
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -34,22 +34,12 @@ jobs:
3434
path: /tmp/pandoc.deb
3535
key: pandoc
3636

37-
- uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2
38-
with:
39-
path: |
40-
/usr/bin/xelatex*
41-
/usr/share/texlive/
42-
/usr/share/doc/texlive*
43-
/usr/share/texmf/
44-
/var/lib/tex*
45-
/usr/share/fonts/X11/Type1/lm*
46-
/etc/X11/fonts/Type1/lmodern.scale
47-
key: latex-${{ runner.os }}
48-
4937
- run: pip install flake8 coverage mypy types-Markdown
5038

5139
# test_pdf_pandoc
52-
- run: command -v xelatex || sudo apt-get update && sudo apt-get install texlive-xetex lmodern texlive-fonts-recommended
40+
- run: |
41+
sudo apt-get update && sudo apt-get install --no-install-recommends \
42+
texlive-xetex lmodern texlive-fonts-recommended
5343
- run: wget --no-clobber -O/tmp/pandoc.deb https://github.com/jgm/pandoc/releases/download/3.1.12.2/pandoc-3.1.12.2-1-amd64.deb || true
5444
- run: sudo dpkg -i /tmp/pandoc.deb
5545

0 commit comments

Comments
 (0)