Releases: repaction/texlive
Releases · repaction/texlive
Action to compile academic papers in LaTeX
LaTeXmk Action
This action compiles LaTeX docs to PDF using latexmk with a minimal TeXLive image.
Inputs
tex_files
The main LaTeX file or a list of such files to be compiled.
compiler
Default to latexmk, can be changed to latex or pdflatex.
options
Default options for latexmk is set to -pdf -cd -file-line-error -halt-on-error -interaction=nonstopmode. The options should be changed correspondingly when the compiler has been changed.
Example
name: Build LaTeX document
on: [push]
jobs:
build_latex:
runs-on: ubuntu-latest
steps:
- name: Set up Git repository
uses: actions/checkout@v2
- name: Compile LaTeX document
uses: fredqi/tl-action@mini-v2
with:
tex_files: |
main.tex