Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make latexpdf failes #53

Open
fhg-isi opened this issue Aug 1, 2023 · 0 comments
Open

make latexpdf failes #53

fhg-isi opened this issue Aug 1, 2023 · 0 comments

Comments

@fhg-isi
Copy link

fhg-isi commented Aug 1, 2023

My GitHub action includes following job:

      - name: build pdf doc
        uses: ammaraskar/sphinx-action@master
        with:
          pre-build-command: 'apt-get update -y && apt-get install -y latexmk texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended'
          build-command: 'make latexpdf'
          docs-folder: 'doc'

Also see

https://github.com/fraunhofer-isi/micat/blob/dd3c19369f16eeec4fc3db761d0597c28188a8d5/.github/workflows/doc_pdf.yml

Folder structure:

image

I get following error:

====================================
Building docs in doc
Traceback (most recent call last):
====================================
  File "/entrypoint.py", line 22, in <module>
[sphinx-action] Running: ['make', 'latexpdf', '-e']
    action.build_all_docs(github_env, [os.environ.get("INPUT_DOCS-FOLDER")])
[sphinx-action] Build failed with 0 warnings
  File "/sphinx_action/action.py", line 167, in build_all_docs
    raise RuntimeError("Build failed")

=> How to fix this?

Related:

#32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant