Skip to content

Commit 5c38273

Browse files
further refine the github workflow to always upload the err logs to capture warnings
1 parent 7a8da63 commit 5c38273

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/build-book.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,11 @@ jobs:
3333
- name: Build the book
3434
run: |
3535
jupyter-book build .
36-
continue-on-error: true
3736
38-
# Upload error logs if build fails
37+
# Always upload logs, even if build succeeds
3938
- name: Upload error logs
40-
if: failure() # This will only run if the previous step fails
4139
uses: actions/upload-artifact@v3
4240
with:
4341
name: error-logs
4442
path: _build/html/reports/pathways/related_courses.err.log
43+
continue-on-error: true

0 commit comments

Comments
 (0)