Files
Tesi/.github/workflows/main.yml
Mirko Milovanovic 978506f9fd
Some checks failed
Build LaTeX Document / build_latex (pull_request) Has been cancelled
Update LaTeX action version in GitHub Actions workflow
2025-02-09 18:03:11 +01:00

26 lines
530 B
YAML

name: Build LaTeX Document
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build_latex:
runs-on: ubuntu-latest
steps:
- name: Set up Git repository
uses: actions/checkout@v4
- name: Compile LaTeX document
uses: xu-cheng/latex-action@3.2.0
with:
root_file: Tesi.tex
- name: Upload PDF file
if: github.ref == 'refs/heads/main'
uses: actions/upload-artifact@v4
with:
name: PDF
path: Tesi.pdf