Skip to content

Commit

Permalink
Cache apt packages (#7978)
Browse files Browse the repository at this point in the history
* Cache apt packages

* Match apt cache key with OS version

That way it's easier to remember updating the key when the OS version is changed.
  • Loading branch information
ADmad authored Jan 5, 2025
1 parent c2cffb9 commit 9219965
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ permissions:

jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
strategy:
matrix:
doc-type: ['HTML', 'EPUB', 'PDF']
Expand All @@ -33,10 +33,10 @@ jobs:
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Install packages
run: |
sudo apt update
sudo apt install texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended texlive-lang-all
- uses: awalsh128/cache-apt-pkgs-action@v1
with:
packages: texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended texlive-lang-all
version: ubuntu-24.04

- name: Build Docs
run: |
Expand Down

0 comments on commit 9219965

Please sign in to comment.