Add latex workflow
This commit is contained in:
21
.gitea/workflows/latex.yaml
Normal file
21
.gitea/workflows/latex.yaml
Normal file
@ -0,0 +1,21 @@
|
||||
name: Build LaTeX document
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
|
||||
jobs:
|
||||
build-latex:
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- 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
|
||||
- name: Rename document
|
||||
run: mv thesis.pdf facial-animation-using-inverse-kinematics.pdf
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: facial-animation-using-inverse-kinematics.pdf
|
||||
path: facial-animation-using-inverse-kinematics.pdf
|
||||
Reference in New Issue
Block a user