Skip to content

Reconfigure the structure #7

Reconfigure the structure

Reconfigure the structure #7

Workflow file for this run

name: Build LaTeX document
on:
push:
branches: ["main"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Set up Git repository
uses: actions/checkout@v4
- 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