Compare commits

..

1 Commits

Author SHA1 Message Date
88b7d3efdd 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) Failing after 57s
2025-02-09 23:39:31 +01:00

View File

@@ -6,6 +6,9 @@ on:
pull_request: pull_request:
branches: [ main ] branches: [ main ]
env:
PDF_NAME: Tesi.pdf
jobs: jobs:
build_latex: build_latex:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@@ -26,9 +29,9 @@ jobs:
- name: Build LaTeX document - name: Build LaTeX document
run: | run: |
pdflatex -interaction=nonstopmode -halt-on-error Tesi.tex || (cat /root/.miktex/texmfs/data/miktex/log/pdflatex.log && exit 1) pdflatex -interaction=nonstopmode -halt-on-error ${{ env.PDF_NAME }} || (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
with: with:
path: Test.pdf path: ${{ env.PDF_NAME }}