Skip to content

Commit d4513b3

Browse files
authored
Update cache workflow to upload execution reports if failure (#217)
1 parent 795beed commit d4513b3

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/cache.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,15 @@ jobs:
3535
shell: bash -l {0}
3636
run: |
3737
jb build lectures --path-output ./ -W --keep-going
38+
- name: Upload Execution Reports
39+
uses: actions/upload-artifact@v2
40+
if: failure()
41+
with:
42+
name: execution-reports
43+
path: _build/html/reports
3844
- name: Upload "_build" folder (cache)
3945
uses: actions/upload-artifact@v2
4046
with:
4147
name: build-cache
42-
path: _build
48+
path: _build
49+

0 commit comments

Comments
 (0)