Compare commits
2 Commits
2adb70e448
...
3fb8af1a98
Author | SHA1 | Date | |
---|---|---|---|
3fb8af1a98 | |||
06144187ac |
9
.github/workflows/main.yml
vendored
9
.github/workflows/main.yml
vendored
@@ -12,16 +12,23 @@ jobs:
|
||||
steps:
|
||||
- name: Set up Git repository
|
||||
uses: actions/checkout@v4.2.2
|
||||
with:
|
||||
path: /Tesi
|
||||
|
||||
- name: Compile LaTeX document
|
||||
uses: xu-cheng/latex-action@3.2.0
|
||||
with:
|
||||
root_file: Tesi.tex
|
||||
docker_image: ghcr.io/xu-cheng/texlive-full:20250101
|
||||
working_directory: /Tesi
|
||||
|
||||
- name: Check LaTeX compilation
|
||||
run: |
|
||||
file Tesi.pdf | grep -q ' PDF '
|
||||
|
||||
- name: Upload PDF file
|
||||
if: github.ref == 'refs/heads/main'
|
||||
uses: actions/upload-artifact@v4.6.0
|
||||
with:
|
||||
name: PDF
|
||||
path: Tesi.pdf
|
||||
path: /Tesi/Tesi.pdf
|
Reference in New Issue
Block a user