Skip to content

Releases: xu-cheng/latex-action

GitHub Actions to compile LaTeX documents

21 Aug 10:49
63e9b8c
Compare
Choose a tag to compare

This GitHub Actions can be used to compile LaTeX documents for you.

It runs in the docker with a minimal TeXLive environment installed. Further, it uses texliveonfly to find and install the missing packages.

Following is an example of how to use it.

name: Build LaTeX document
on: [push]
jobs:
  build_latex:
    runs-on: ubuntu-latest
    steps:
      - name: Set up Git repository
        uses: actions/checkout@v1
      - name: Compile LaTeX document
        uses: xu-cheng/latex-action@master
        with:
          root_file: main.tex