Skip to content

Commit 10f8fde

Browse files
test(ci): move compute diff to top of render job
Signed-off-by: Cameron Smith <cameron.ray.smith@gmail.com>
1 parent 37d63a6 commit 10f8fde

File tree

1 file changed

+13
-10
lines changed

1 file changed

+13
-10
lines changed

.github/workflows/manuscript.yaml

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,19 @@ jobs:
3434
uses: iterative/setup-dvc@68c55926a8ce27c2d4fcf7db61149ee64cf4eeb9 # v1
3535
with:
3636
version: "3.53.2"
37+
- name: Download figures
38+
run: |
39+
make -C reproducibility/manuscript figures-download
40+
- name: Compute diff
41+
# if: ${{ inputs.diff_enabled == 'true' }}
42+
continue-on-error: false
43+
uses: xu-cheng/texlive-action@3586544d56723b23ab69aec1e9d73e7220d9c313 # v2
44+
with:
45+
scheme: full
46+
run: |
47+
apk add make
48+
git config --global --add safe.directory "${{ github.workspace }}/**"
49+
make -C reproducibility/manuscript latexdiff
3750
- name: Set up Quarto
3851
uses: quarto-dev/quarto-actions/setup@c1b50d36cf3c22b3dc7e530bd1b36634e824e545 # v2
3952
with:
@@ -44,16 +57,6 @@ jobs:
4457
- name: Render
4558
run: |
4659
make -C reproducibility/manuscript render
47-
- name: Compute diff
48-
# if: ${{ inputs.diff_enabled == 'true' }}
49-
continue-on-error: true
50-
uses: xu-cheng/texlive-action@3586544d56723b23ab69aec1e9d73e7220d9c313 # v2
51-
with:
52-
scheme: full
53-
run: |
54-
apk add make
55-
git config --global --add safe.directory "${{ github.workspace }}"
56-
make -C reproducibility/manuscript latexdiff
5760
- name: Upload artifacts
5861
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4
5962
with:

0 commit comments

Comments
 (0)