Compare commits

..

1 Commits

Author SHA1 Message Date
e8da31a974 Refactor GitHub Actions workflow to install LaTeX dependencies and build document directly, updating artifact upload step
Some checks failed
Build LaTeX Document / build_latex (pull_request) Has been cancelled
2025-02-09 23:15:54 +01:00

View File

@@ -9,7 +9,6 @@ on:
jobs: jobs:
build_latex: build_latex:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: ubuntu:latest
steps: steps:
- name: Install Node.js - name: Install Node.js
run: | run: |
@@ -29,7 +28,8 @@ jobs:
miktexsetup --shared=yes finish miktexsetup --shared=yes finish
- name: Build LaTeX document - name: Build LaTeX document
run: pdflatex -interaction=nonstopmode -halt-on-error Tesi.tex run: |
pdflatex -interaction=nonstopmode -halt-on-error Tesi.tex || (cat /root/.miktex/texmfs/data/miktex/log/pdflatex.log && exit 1)
- name: Upload PDF artifact - name: Upload PDF artifact
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4