fix workflow and rm pdf
All checks were successful
Build Typst document / build_typst_documents (push) Successful in 10s

This commit is contained in:
lukas-heilgenbrunner 2024-11-04 15:12:53 +01:00
parent bcbb9bb9de
commit bb8436339a
2 changed files with 2 additions and 34 deletions

View File

@ -1,32 +0,0 @@
name: Build LaTeX Document
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
# Checkout the repository containing the LaTeX files
- name: Checkout repository
uses: actions/checkout@v3
# Install LaTeX dependencies manually (TexLive and BibTeX)
- name: Install LaTeX
run: |
sudo apt-get update
sudo apt-get install -y texlive-full biber latexmk
# Compile the LaTeX document (first pass)
- name: Compile LaTeX (first pass)
run: |
cd src
latexmk -pdf -bibtex -interaction=nonstopmode main.tex
# Upload the compiled PDF as an artifact
- name: Upload PDF
uses: actions/upload-artifact@v3
with:
name: compiled-latex
path: src/main.pdf

View File

@ -10,9 +10,9 @@ jobs:
- name: Typst - name: Typst
uses: lvignoli/typst-action@main uses: lvignoli/typst-action@main
with: with:
source_file: typstalt/main.typ source_file: main.typ
- name: Upload PDF file - name: Upload PDF file
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: PDF name: PDF
path: typstalt/main.pdf path: main.pdf