This commit is contained in:
parent
72430b835a
commit
070682b10c
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
@ -6,11 +6,11 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Set up Git repository
|
- name: Set up Git repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Compile LaTeX document
|
- name: Build LaTeX Document
|
||||||
uses: xu-cheng/latex-action@v3
|
run: |
|
||||||
with:
|
workdirr=${{ github.workspace }}
|
||||||
root_file: src/main.tex
|
echo $workdirr
|
||||||
working_directory: /texbuild
|
docker run --rm -v "$workdirr:$workdirr" -w $workdirr ghcr.io/xu-cheng/texlive-full:latest latexmk -pdf -xelatex -shell-escape src/main.tex
|
||||||
- name: Upload PDF file
|
- name: Upload PDF file
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
|
Loading…
Reference in New Issue
Block a user