Skip to content

Commit e3f0d40

Browse files
nashifcarlescufi
authored andcommitted
ci: doc: upload build log for debugging
When PDF build fails, we want to see what cmaused the failure, so upload the log for later analysis. Signed-off-by: Anas Nashif <[email protected]>
1 parent 5a07588 commit e3f0d40

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/doc-build.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ jobs:
156156
west init -l .
157157
158158
- name: build-docs
159+
continue-on-error: true
159160
run: |
160161
if [[ "$GITHUB_REF" =~ "refs/tags/v" ]]; then
161162
DOC_TAG="release"
@@ -166,7 +167,11 @@ jobs:
166167
DOC_TAG=${DOC_TAG} SPHINXOPTS="-q -j auto" LATEXMKOPTS="-quiet -halt-on-error" make -C doc pdf
167168
168169
- name: upload-build
170+
if: always()
169171
uses: actions/upload-artifact@v3
170172
with:
171173
name: pdf-output
172-
path: doc/_build/latex/zephyr.pdf
174+
if-no-files-found: ignore
175+
path: |
176+
doc/_build/latex/zephyr.pdf
177+
doc/_build/latex/zephyr.log

0 commit comments

Comments
 (0)