Skip to content

Commit d657a3b

Browse files
authored
Merge pull request #17 from aobolensk/cache-tex-deps
[CI] Cache TeX depencencies installed by apt
2 parents 4d4c62a + dffc2bf commit d657a3b

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,11 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- uses: actions/checkout@v4
15-
- name: Setup environment
16-
run: |
17-
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
18-
sudo apt-get update
19-
sudo apt-get install ninja-build
20-
sudo apt-get install texlive*
15+
- name: Install apt dependencies with cache
16+
uses: awalsh128/[email protected]
17+
with:
18+
packages: ninja-build texlive-base texlive-latex-extra
19+
version: 1.0
2120
- name: Build
2221
run: |
2322
find . -iname '*.tex' -execdir pdflatex -output-directory $GITHUB_WORKSPACE {} \; || exit 1

0 commit comments

Comments
 (0)