diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e4cf30e..34e4694 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,7 +10,7 @@ jobs: run: | workdirr=${{ github.workspace }} echo $workdirr - docker run --rm ghcr.io/xu-cheng/texlive-full:latest latexmk -pdf -xelatex -shell-escape /build/src/main.tex + docker run --rm -v "$workdirr:/build" ghcr.io/xu-cheng/texlive-full:latest latexmk -pdf -xelatex -shell-escape /build/src/main.tex - name: Upload PDF file uses: actions/upload-artifact@v4 with: