diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5056c7f7eb..b3273a6f42 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,7 +16,7 @@ permissions: jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 strategy: matrix: doc-type: ['HTML', 'EPUB', 'PDF'] @@ -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: |