Update latex workflow to use my own texlive image
This commit is contained in:
14
latex.yaml
14
latex.yaml
@ -4,24 +4,16 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches: [master, main]
|
branches: [master, main]
|
||||||
|
|
||||||
# TODO: Don't install texlive-full etc. every time, but use gitea.vps.chriphost.de/christoph/docker-texlive
|
|
||||||
jobs:
|
jobs:
|
||||||
build-latex:
|
build-latex:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
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
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Build LaTeX document
|
- 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: docker run --rm --volumes-from ${{ env.JOB_CONTAINER_NAME }} --workdir ${{ github.workspace }} gitea.vps.chriphost.de/christoph/docker-texlive:latest latexmk -shell-escape -pdf <MAIN-FILE>.tex
|
||||||
run: latexmk -shell-escape -pdf thesis.tex
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: interrupt-handling-using-the-x86-apic.pdf
|
name: <ARTIFACT-NAME>.pdf
|
||||||
path: thesis.pdf
|
path: <FILE-NAME>.pdf
|
||||||
|
Reference in New Issue
Block a user