Skip to content

Added the GitHub Actions script #1

Added the GitHub Actions script

Added the GitHub Actions script #1

Workflow file for this run

name: Build LaTeX document
on:
push:
workflow_dispatch:
jobs:
build_latex:
runs-on: ubuntu-latest
steps:
- name: 🔧 Set up Git repository
uses: actions/checkout@v3
- name: 📝 Compile LaTeX document
uses: xu-cheng/latex-action@v2
with:
root_file: main.tex
latexmk_shell_escape: true
extra_system_packages: "inkscape"
- name: 📤 Upload PDF file
uses: actions/upload-artifact@v3
with:
name: PDF
path: main.pdf