Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@jy95
Created May 7, 2020 09:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jy95/d839cfd59aee4124ad302646173d123d to your computer and use it in GitHub Desktop.
Save jy95/d839cfd59aee4124ad302646173d123d to your computer and use it in GitHub Desktop.
Workflow to compile latex
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: xu-cheng/latex-action@master
with:
root_file: main.tex
- name: Upload result file
uses: actions/upload-artifact@v2
with:
name: main.pdf
path: main.pdf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment