use dind runner with old workflow
Some checks failed
Build LaTeX document / build_latex (push) Failing after 4m28s

This commit is contained in:
lukas 2024-09-27 08:07:08 +00:00
parent ea3dbd9427
commit edd7c1c7ef

View File

@ -2,17 +2,14 @@ name: Build LaTeX document
on: [push]
jobs:
build_latex:
runs-on: ubuntu-latest
runs-on: dind
steps:
- name: Set up Git repository
uses: actions/checkout@v4
- name: Build LaTeX Document
run: |
workdirr=${{ github.workspace }}
echo $workdirr
docker run --rm -v "$workdirr:$workdirr" -w $workdirr ghcr.io/xu-cheng/texlive-full:latest ls -la $workdirr
docker run --rm -v "$workdirr:$workdirr" -w $workdirr ghcr.io/xu-cheng/texlive-full:latest latexmk -pdf -xelatex -shell-escape src/main.tex
- name: Compile LaTeX document
uses: xu-cheng/latex-action@v3
with:
root_file: src/main.tex
- name: Upload PDF file
uses: actions/upload-artifact@v4
with: