File tree 1 file changed +12
-6
lines changed
1 file changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -12,12 +12,11 @@ jobs:
12
12
runs-on : ubuntu-latest
13
13
steps :
14
14
- 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/cache-apt-pkgs-action@v1.4.2
17
+ with :
18
+ packages : ninja-build texlive-base texlive-latex-extra
19
+ version : 1.0
21
20
- name : Build
22
21
run : |
23
22
find . -iname '*.tex' -execdir pdflatex -output-directory $GITHUB_WORKSPACE {} \; || exit 1
34
33
runs-on : macos-latest
35
34
steps :
36
35
- uses : actions/checkout@v4
36
+ - name : Cache brew packages
37
+ uses : actions/cache@v4
38
+ with :
39
+ path : /usr/local/Homebrew
40
+ key : ${{ runner.os }}-brew-${{ hashFiles('brew.txt') }}
41
+ restore-keys : |
42
+ ${{ runner.os }}-brew-
37
43
- name : Setup environment
38
44
run : |
39
45
brew install --cask mactex
You can’t perform that action at this time.
0 commit comments