Skip to content

Commit 8a3d85b

Browse files
authored
CI: Fix a typo for building PDF (#4667)
1 parent ae89264 commit 8a3d85b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/ci_docs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -147,11 +147,11 @@ jobs:
147147
148148
- name: Build the PDF documentation
149149
run: |
150-
log_file="${RUNNER_TEMP}/sphinx-latex.log"
151-
make -C doc latex 2>&1 | tee "${log_file}"
150+
log_file="${RUNNER_TEMP}/sphinx-pdf.log"
151+
make -C doc pdf 2>&1 | tee "${log_file}"
152152
exit_code=${PIPESTATUS[0]}
153153
if [[ "${RUNNER_OS}" == "Windows" && "${exit_code}" -eq 2 ]] && grep -q "make: .* Error 2816" "${log_file}"; then
154-
echo "Sphinx LaTeX build exited with make error 2816 (segmentation fault) on Windows; allowing workflow to continue."
154+
echo "Sphinx PDF build exited with make error 2816 (segmentation fault) on Windows; allowing workflow to continue."
155155
exit 0
156156
fi
157157

0 commit comments

Comments
 (0)