Skip to content

Commit

Permalink
* .github/workflows/test-and-deploy.yml: Update TinyTeX.
Browse files Browse the repository at this point in the history
  • Loading branch information
MLopez-Ibanez committed Mar 17, 2024
1 parent a9137b4 commit 3f2a49a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/test-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,6 @@ jobs:
# key: ${{ env.cache-version }}-${{ runner.os }}-tinytex
# restore-keys: ${{ env.cache-version }}-${{ runner.os }}-tinytex

- name: Install packages
if: ${{ env.FILES_CHANGED != 0 }}
run: |
sudo apt -y update
sudo apt -y install bibtex2html tidy ghostscript qpdf
- uses: r-lib/actions/setup-tinytex@v2-branch
if: ${{ env.FILES_CHANGED != 0 }} #&& steps.cache-tinytex.outputs.cache-hit != 'true'}}
env:
Expand All @@ -90,6 +84,12 @@ jobs:
if: ${{ success() && env.FILES_CHANGED != 0 }}
run: cd test && ./test.sh

- name: Install packages
if: ${{ env.FILES_CHANGED != 0 }}
run: |
sudo apt -y update
sudo apt -y install bibtex2html tidy ghostscript qpdf
- name: Compress PDFs
if: ${{ success() && env.FILES_CHANGED != 0 }}
run: cd test && ./compress.sh testbib.pdf testshortbib.pdf && mv --force -t ../web/ testbib.pdf testshortbib.pdf
Expand Down

0 comments on commit 3f2a49a

Please sign in to comment.