Some checks failed
Build LaTeX Document / build_latex (pull_request) Failing after 1m24s
33 lines
811 B
YAML
33 lines
811 B
YAML
name: Build LaTeX Document
|
|
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
pull_request:
|
|
branches: [ main ]
|
|
|
|
jobs:
|
|
build_latex:
|
|
runs-on: ubuntu-latest
|
|
container:
|
|
steps:
|
|
- name: Install Node.js
|
|
run: |
|
|
apt-get update && apt install -y curl
|
|
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo bash -
|
|
apt-get install -y nodejs
|
|
|
|
- name: Set up Git repository
|
|
uses: actions/checkout@v4.2.2
|
|
|
|
- name: Install LaTeX
|
|
run: apt-get install texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended -y
|
|
|
|
- name: Build LaTeX document
|
|
run: pdflatex -interaction=nonstopmode -halt-on-error Tesi.tex
|
|
|
|
- name: Upload PDF artifact
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
path: Test.pdf
|