Skip to content

Commit

Permalink
Update make-pdf-1-select.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
entorb committed May 17, 2024
1 parent 4274008 commit 75cd7d7
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions .github/workflows/make-pdf-1-select.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit 75cd7d7

Please sign in to comment.