use dind runner with old workflow
Some checks failed
Build LaTeX document / build_latex (push) Failing after 4m28s
Some checks failed
Build LaTeX document / build_latex (push) Failing after 4m28s
This commit is contained in:
parent
ea3dbd9427
commit
edd7c1c7ef
13
.github/workflows/build.yml
vendored
13
.github/workflows/build.yml
vendored
@ -2,17 +2,14 @@ name: Build LaTeX document
|
|||||||
on: [push]
|
on: [push]
|
||||||
jobs:
|
jobs:
|
||||||
build_latex:
|
build_latex:
|
||||||
runs-on: ubuntu-latest
|
runs-on: dind
|
||||||
steps:
|
steps:
|
||||||
- name: Set up Git repository
|
- name: Set up Git repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Build LaTeX Document
|
- name: Compile LaTeX document
|
||||||
run: |
|
uses: xu-cheng/latex-action@v3
|
||||||
workdirr=${{ github.workspace }}
|
with:
|
||||||
echo $workdirr
|
root_file: src/main.tex
|
||||||
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: 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