Skip to content

Commit

Permalink
update action
Browse files Browse the repository at this point in the history
  • Loading branch information
sun123zxy committed Oct 29, 2024
1 parent cfce30f commit 249fcf8
Showing 1 changed file with 22 additions and 2 deletions.
24 changes: 22 additions & 2 deletions .github/workflows/render.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,32 @@ 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
run: |
quarto install tinytex --update-path
echo "$HOME/bin" >> $GITHUB_PATH
PATH="$PATH:$HOME/bin"
ls $HOME/bin
- name: Prepare for TikZ rendering
# To ensure dvisvgm installed
# To import libraries in advance for tikz image generation
# To test rendering of tikz images
run: |
tlmgr install dvisvgm
dvisvgm --help
echo "" >> temp.qmd
quarto render temp.qmd --to=pdf --template=_assets/suntemp-tikz.tex
rm temp.qmd
rm temp.pdf
# add software dependencies here and any libraries

# From https://github.com/actions/setup-python
Expand Down

0 comments on commit 249fcf8

Please sign in to comment.