From 39fcdfbc68af4dfa001d85b676b91bf3a7cc68ed Mon Sep 17 00:00:00 2001 From: pierre-24 Date: Mon, 22 Apr 2024 21:24:10 +0200 Subject: [PATCH] PWD? --- .github/workflows/tests.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 681cb70..06605a2 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,7 +1,7 @@ name: Run tests env: - TEMPLATEDIR: ${HOME}/.texlive/texmf-local/tex/latex/latex-template + TEMPLATEDIR: ~/.texlive/texmf-local/tex/latex/latex-template on: push: @@ -23,15 +23,14 @@ 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 @@ -43,7 +42,7 @@ jobs: - name: Test LaTeX run: | mkdir -p ${TEMPLATEDIR} - cp -r . ${TEMPLATEDIR} + cp -r ${PWD} ${TEMPLATEDIR} texhash make tests - name: Remove template from TeXLive before caching