From 3036fcafc996b1e8ce76a5e798a2ce945fc6f644 Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Fri, 5 Jun 2026 10:15:22 +0800 Subject: [PATCH] CI: Fix a typo for building PDF --- .github/workflows/ci_docs.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci_docs.yml b/.github/workflows/ci_docs.yml index baf28850e06..c4f35691333 100644 --- a/.github/workflows/ci_docs.yml +++ b/.github/workflows/ci_docs.yml @@ -147,11 +147,11 @@ jobs: - name: Build the PDF documentation run: | - log_file="${RUNNER_TEMP}/sphinx-latex.log" - make -C doc latex 2>&1 | tee "${log_file}" + log_file="${RUNNER_TEMP}/sphinx-pdf.log" + make -C doc pdf 2>&1 | tee "${log_file}" exit_code=${PIPESTATUS[0]} if [[ "${RUNNER_OS}" == "Windows" && "${exit_code}" -eq 2 ]] && grep -q "make: .* Error 2816" "${log_file}"; then - echo "Sphinx LaTeX build exited with make error 2816 (segmentation fault) on Windows; allowing workflow to continue." + echo "Sphinx PDF build exited with make error 2816 (segmentation fault) on Windows; allowing workflow to continue." exit 0 fi