Created
May 7, 2020 09:43
-
-
Save jy95/d839cfd59aee4124ad302646173d123d to your computer and use it in GitHub Desktop.
Workflow to compile latex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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