File tree Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Original file line number Diff line number Diff 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+ 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
3433 runs-on : macos-latest
3534 steps :
3635 - 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-
3743 - name : Setup environment
3844 run : |
3945 brew install --cask mactex
You can’t perform that action at this time.
0 commit comments