use variables
Some checks failed
Build LaTeX document / build_latex (push) Failing after 4s

This commit is contained in:
lukas 2024-09-26 12:00:25 +00:00
parent 7c8853febf
commit 27f7414899

View File

@ -8,7 +8,9 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Build LaTeX Document - name: Build LaTeX Document
run: | run: |
docker run --rm -v "${{ github.workspace }}:/workdir" -w /workdir ghcr.io/xu-cheng/texlive-full:latest ls -la /workdir workdirr=${{ github.workspace }}
echo $workdirr
docker run --rm -v "$workdirr:/workdir" -w /workdir ghcr.io/xu-cheng/texlive-full:latest latexmk -pdf -xelatex -shell-escape /workdir/src/main.tex
- name: Upload PDF file - name: Upload PDF file
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4