From 75cd7d78a798a9e9424ab83f9b8912d60971ef85 Mon Sep 17 00:00:00 2001 From: Torben <59419684+entorb@users.noreply.github.com> Date: Fri, 17 May 2024 15:44:26 +0200 Subject: [PATCH] Update make-pdf-1-select.yml --- .github/workflows/make-pdf-1-select.yml | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/.github/workflows/make-pdf-1-select.yml b/.github/workflows/make-pdf-1-select.yml index 7c4c4be59..f5060ce7b 100644 --- a/.github/workflows/make-pdf-1-select.yml +++ b/.github/workflows/make-pdf-1-select.yml @@ -43,11 +43,23 @@ jobs: ls -l chapters/ ls -l - - name: Install PDF requirements + # - name: Install PDF requirements + # run: | + # # not: to save time + # # sudo apt-get update > /dev/null + # sh scripts/install_requirements_pdf.sh > /dev/null + + - name: Install PDF requirements using cache + uses: awalsh128/cache-apt-pkgs-action@latest + with: + packages: texlive-xetex texlive-lang-greek texlive-lang-german latexmk + version: 1.0 + # execute_install_scripts: true + + - name: Manual install latexmk to fix caching issue + # since cache does not properly work / "convert" not found run: | - # not: to save time - # sudo apt-get update > /dev/null - sh scripts/install_requirements_pdf.sh > /dev/null + sudo apt-get install latexmk - name: Print versions run: |