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: |