Compare commits
1 Commits
ae051292dc
...
54cec3f96f
Author | SHA1 | Date | |
---|---|---|---|
54cec3f96f |
23
.github/workflows/main.yml
vendored
23
.github/workflows/main.yml
vendored
@@ -9,19 +9,22 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
build_latex:
|
build_latex:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
container: ubuntu:latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: Install Node.js
|
||||||
|
uses: actions/setup-node@v4.2.0
|
||||||
|
|
||||||
- name: Set up Git repository
|
- name: Set up Git repository
|
||||||
uses: actions/checkout@v4.2.2
|
uses: actions/checkout@v4.2.2
|
||||||
|
|
||||||
- name: Compile LaTeX document
|
- name: Install LaTeX
|
||||||
uses: xu-cheng/latex-action@3.2.0
|
run: sudo apt update && sudo apt install texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended
|
||||||
with:
|
|
||||||
root_file: Tesi.tex
|
|
||||||
docker_image: ghcr.io/xu-cheng/texlive-full:20250101
|
|
||||||
|
|
||||||
- name: Upload PDF file
|
- name: Build LaTeX document
|
||||||
if: github.ref == 'refs/heads/main'
|
run: pdflatex -interaction=nonstopmode -halt-on-error Tesi.tex
|
||||||
uses: actions/upload-artifact@v4.6.0
|
|
||||||
|
- name: Upload PDF artifact
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: PDF
|
path: Test.pdf
|
||||||
path: Tesi.pdf
|
|
||||||
|
Reference in New Issue
Block a user