Skip to content

Commit

Permalink
test(ci): move compute diff to top of render job
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 37d63a6 commit 10f8fde
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions .github/workflows/manuscript.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,19 @@ jobs:
uses: iterative/setup-dvc@68c55926a8ce27c2d4fcf7db61149ee64cf4eeb9 # v1
with:
version: "3.53.2"
- name: Download figures
run: |
make -C reproducibility/manuscript figures-download
- name: Compute diff
# if: ${{ inputs.diff_enabled == 'true' }}
continue-on-error: false
uses: xu-cheng/texlive-action@3586544d56723b23ab69aec1e9d73e7220d9c313 # v2
with:
scheme: full
run: |
apk add make
git config --global --add safe.directory "${{ github.workspace }}/**"
make -C reproducibility/manuscript latexdiff
- name: Set up Quarto
uses: quarto-dev/quarto-actions/setup@c1b50d36cf3c22b3dc7e530bd1b36634e824e545 # v2
with:
Expand All @@ -44,16 +57,6 @@ jobs:
- name: Render
run: |
make -C reproducibility/manuscript render
- name: Compute diff
# if: ${{ inputs.diff_enabled == 'true' }}
continue-on-error: true
uses: xu-cheng/texlive-action@3586544d56723b23ab69aec1e9d73e7220d9c313 # v2
with:
scheme: full
run: |
apk add make
git config --global --add safe.directory "${{ github.workspace }}"
make -C reproducibility/manuscript latexdiff
- name: Upload artifacts
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4
with:
Expand Down

0 comments on commit 10f8fde

Please sign in to comment.