Skip to content

Commit 35408ac

Browse files
committed
Change GitHub action
1 parent 03033d1 commit 35408ac

1 file changed

Lines changed: 4 additions & 8 deletions

File tree

.github/workflows/compile-latex.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,15 @@ jobs:
1414
- name: Checkout repository
1515
uses: actions/checkout@v4
1616

17-
- name: Install LaTeX
18-
run: |
19-
sudo apt-get update
20-
sudo apt-get install -y texlive-latex-base texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended
21-
2217
- name: Compile LaTeX to PDF
23-
run: |
24-
pdflatex -interaction=nonstopmode shop-qr-sheet.tex
18+
uses: xu-cheng/latex-action@v4
19+
with:
20+
root_file: shop-qr-sheet.tex
2521

2622
- name: Upload PDF and log as artifacts
2723
uses: actions/upload-artifact@v4
2824
with:
29-
name: compiled-pdf
25+
name: compiled
3026
path: |
3127
shop-qr-sheet.pdf
3228
shop-qr-sheet.log

0 commit comments

Comments
 (0)