diff --git a/.github/workflows/render.yml b/.github/workflows/render.yml index 84679a3..046fd54 100644 --- a/.github/workflows/render.yml +++ b/.github/workflows/render.yml @@ -22,12 +22,24 @@ 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 via Quarto manually + # To update PATH + # To ensure dvisvgm installed + # To import libraries in advance for tikz image generation + run: | + quarto install tinytex --update-path + echo "$HOME/bin" >> $GITHUB_PATH + echo "" >> temp.qmd + quarto render temp.qmd --to=pdf --template=_assets/suntemp-tikz.tex + rm temp.qmd + tlmgr install dvisvgm + # add software dependencies here and any libraries # From https://github.com/actions/setup-python