From 8caae4b1e5ba3f91c1a1c616ce592a0822b4e724 Mon Sep 17 00:00:00 2001 From: sun123zxy <304244450@qq.com> Date: Wed, 30 Oct 2024 00:29:12 +0800 Subject: [PATCH] update action --- .github/workflows/render.yml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.github/workflows/render.yml b/.github/workflows/render.yml index 84679a3..0557931 100644 --- a/.github/workflows/render.yml +++ b/.github/workflows/render.yml @@ -22,12 +22,20 @@ jobs: uses: quarto-dev/quarto-actions/setup@v2 env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: + # with: # To install LaTeX to build PDF book - tinytex: true + # tinytex: true # uncomment below and fill to pin a version # version: SPECIFIC-QUARTO-VERSION-HERE - + + - name: Set up TinyTeX manually + run: | + wget -qO- "https://yihui.org/tinytex/install-bin-unix.sh" | sh + export PATH="$HOME/bin:$PATH" + echo "export PATH=\"$HOME/bin:$PATH\"" >> ~/.bashrc + xelatex _assets/suntemp-tikz.tex + # To test, also import libraries in advance for tikz image generation + # add software dependencies here and any libraries # From https://github.com/actions/setup-python