From cacc4b0ddfdd0fe93ef2122e7c7fc56d3c54990a Mon Sep 17 00:00:00 2001 From: Cameron Smith Date: Thu, 22 Aug 2024 14:17:06 -0400 Subject: [PATCH] ci(manuscript): add tinytex bin to PATH Signed-off-by: Cameron Smith --- .github/workflows/manuscript.yaml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/manuscript.yaml b/.github/workflows/manuscript.yaml index 9e3e9d2ba..5259ae811 100644 --- a/.github/workflows/manuscript.yaml +++ b/.github/workflows/manuscript.yaml @@ -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: @@ -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