Skip to content

Commit

Permalink
ci(manuscript): add tinytex bin to PATH
Browse files Browse the repository at this point in the history
Signed-off-by: Cameron Smith <cameron.ray.smith@gmail.com>
  • Loading branch information
cameronraysmith committed Aug 22, 2024
1 parent 0706ab6 commit cacc4b0
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/manuscript.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ jobs:
steps:
- name: Check out repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
with:
fetch-depth: 0
- name: Setup dvc
uses: iterative/setup-dvc@68c55926a8ce27c2d4fcf7db61149ee64cf4eeb9 # v1
with:
Expand All @@ -38,16 +40,18 @@ jobs:
uses: quarto-dev/quarto-actions/setup@c1b50d36cf3c22b3dc7e530bd1b36634e824e545 # v2
with:
tinytex: true
- name: Setup tmate debug session
if: ${{ inputs.debug_enabled == 'true' }}
uses: mxschmitt/action-tmate@a283f9441d2d96eb62436dc46d7014f5d357ac22 # v3
- name: Render
run: |
make -C reproducibility/manuscript render
- name: Setup tmate debug session
# if: ${{ inputs.debug_enabled == 'true' }}
uses: mxschmitt/action-tmate@a283f9441d2d96eb62436dc46d7014f5d357ac22 # v3
- name: Compute diff
# if: ${{ inputs.diff_enabled == 'true' }}
continue-on-error: true
run: |
export PATH="/home/runner/.TinyTeX/bin/x86_64-linux:$PATH"
tlmgr install git-latexdiff latexdiff latexpand
make -C reproducibility/manuscript latexdiff
- name: Upload artifacts
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4
Expand Down

0 comments on commit cacc4b0

Please sign in to comment.