Skip to content

Init push

Init push #1

Workflow file for this run

name: Build LaTeX document
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Set up Git repository
uses: actions/checkout@v1
- name: Compile LaTeX document
uses: dante-ev/latex-action@master
with:
root_file: main.tex
compiler: xelatex
args: -xelatex -latexoption=-file-line-error -latexoption=-interaction=nonstopmode
- name: Check pdf files
run: |
file main.pdf | grep -q ' PDF '
- name: Upload
uses: actions/upload-artifact@master
with:
name: main.pdf
path: main.pdf