From 7fdf7c6da277ee77e8b8282a8959eb0ebffa3251 Mon Sep 17 00:00:00 2001 From: ChUrl Date: Wed, 22 Nov 2023 11:29:54 +0100 Subject: [PATCH] Update latex workflow to use my own texlive image --- latex.yaml | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/latex.yaml b/latex.yaml index 77473cd..273d015 100644 --- a/latex.yaml +++ b/latex.yaml @@ -4,24 +4,16 @@ on: push: branches: [master, main] -# TODO: Don't install texlive-full etc. every time, but use gitea.vps.chriphost.de/christoph/docker-texlive jobs: build-latex: runs-on: ubuntu-22.04 steps: - - name: Setup TexLive - run: | - apt-get update - apt-get install -y texlive-full - apt-get install -y inkscape - apt-get install -y python3-pygments - name: Checkout repository uses: actions/checkout@v4 - name: Build LaTeX document - # run: docker run --rm --volumes-from ${{ env.JOB_CONTAINER_NAME }} --workdir ${{ github.workspace }} ghcr.io/xu-cheng/texlive-full:latest latexmk -shell-escape -pdf thesis.tex - run: latexmk -shell-escape -pdf thesis.tex + run: docker run --rm --volumes-from ${{ env.JOB_CONTAINER_NAME }} --workdir ${{ github.workspace }} gitea.vps.chriphost.de/christoph/docker-texlive:latest latexmk -shell-escape -pdf .tex - name: Upload artifact uses: actions/upload-artifact@v3 with: - name: interrupt-handling-using-the-x86-apic.pdf - path: thesis.pdf + name: .pdf + path: .pdf