From bb8436339af2506845b76eff21fb3641b25cb670 Mon Sep 17 00:00:00 2001 From: lukas-heilgenbrunner Date: Mon, 4 Nov 2024 15:12:53 +0100 Subject: [PATCH] fix workflow and rm pdf --- .github/workflows/build.yml | 32 -------------------------------- .github/workflows/buildtypst.yml | 4 ++-- 2 files changed, 2 insertions(+), 34 deletions(-) delete mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml deleted file mode 100644 index e1657b2..0000000 --- a/.github/workflows/build.yml +++ /dev/null @@ -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 diff --git a/.github/workflows/buildtypst.yml b/.github/workflows/buildtypst.yml index 5286198..5cf0d96 100644 --- a/.github/workflows/buildtypst.yml +++ b/.github/workflows/buildtypst.yml @@ -10,9 +10,9 @@ jobs: - name: Typst uses: lvignoli/typst-action@main with: - source_file: typstalt/main.typ + source_file: main.typ - name: Upload PDF file uses: actions/upload-artifact@v3 with: name: PDF - path: typstalt/main.pdf + path: main.pdf