Skip to content

Commit

Permalink
* .github/workflows/test-and-deploy.yml: Disable cache.
Browse files Browse the repository at this point in the history
  • Loading branch information
MLopez-Ibanez committed Oct 4, 2023
1 parent 98d0159 commit e92f44e
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/test-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,14 @@ jobs:
fi
echo "FILES_CHANGED=${#FILES_CHANGED}" >> $GITHUB_ENV # get the char len of diff output (used later)
- name: Cache TinyTeX
if: ${{ env.FILES_CHANGED != 0 }}
id: cache-tinytex
uses: actions/cache@v3
with:
path: ~/.TinyTeX
key: ${{ env.cache-version }}-${{ runner.os }}-tinytex
restore-keys: ${{ env.cache-version }}-${{ runner.os }}-tinytex
# - name: Cache TinyTeX
# if: ${{ env.FILES_CHANGED != 0 }}
# id: cache-tinytex
# uses: actions/cache@v3
# with:
# path: ~/.TinyTeX
# key: ${{ env.cache-version }}-${{ runner.os }}-tinytex
# restore-keys: ${{ env.cache-version }}-${{ runner.os }}-tinytex

- name: Install packages
if: ${{ env.FILES_CHANGED != 0 }}
Expand All @@ -68,13 +68,13 @@ jobs:
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'}}
if: ${{ env.FILES_CHANGED != 0 }} #&& steps.cache-tinytex.outputs.cache-hit != 'true'}}
env:
TINYTEX_INSTALLER: TinyTeX-1
TINYTEX_VERSION: 2023.09

- name: Install additional LaTeX packages
if: ${{ env.FILES_CHANGED != 0 && steps.cache-tinytex.outputs.cache-hit != 'true'}}
if: ${{ env.FILES_CHANGED != 0 }} #&& steps.cache-tinytex.outputs.cache-hit != 'true'}}
run: |
texlive_packages=./.github/texlive_packages
echo "Updating TexLive"
Expand Down

0 comments on commit e92f44e

Please sign in to comment.