From 20c48d074c81bcab1d8e0a8c62759fd502dc1088 Mon Sep 17 00:00:00 2001 From: pierre-24 Date: Mon, 22 Apr 2024 21:24:10 +0200 Subject: [PATCH] star --- .github/workflows/tests.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 681cb70..54c863f 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -23,19 +23,18 @@ jobs: run: | sudo apt-get install imagemagick librsvg2-bin pip install Pygments - - name: use cache of TeXLive + - name: Use cache id: cache-install uses: actions/cache@v3 with: path: | - $HOME/.texlive + ${HOME}/.texlive key: texlive - - name: Install TeXLive - if: steps.cache-install.outputs.cache-hit != 'true' + - name: Set up TeXLive run: | ./scripts/install_font.sh ./scripts/install_texlive.sh - echo "PATH=$HOME/.texlive/bin/x86_64-linux:$PATH" >> $GITHUB_ENV + echo "PATH=${HOME}/.texlive/bin/x86_64-linux:$PATH" >> $GITHUB_ENV - name: Test Lua run: | cd tests @@ -43,11 +42,10 @@ jobs: - name: Test LaTeX run: | mkdir -p ${TEMPLATEDIR} - cp -r . ${TEMPLATEDIR} + cp -r * ${TEMPLATEDIR} texhash make tests - name: Remove template from TeXLive before caching - if: steps.cache-install.outputs.cache-hit != 'true' run: | rm ${TEMPLATEDIR} texhash