Skip to content

Commit

Permalink
Update pdf.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
zhimin-z authored Jul 15, 2024
1 parent 4ad5807 commit 6d91636
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/pdf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ jobs:
# Checkout the repository
- uses: actions/checkout@v3

# Install pandoc
- name: Install pandoc
run: sudo apt-get install -y pandoc
# Install pandoc and texlive
- name: Install dependencies
run: sudo apt-get install -y pandoc texlive

# Create directory for PDFs
- name: Create PDF directory
Expand All @@ -31,7 +31,7 @@ jobs:

# Convert the concatenated markdown to PDF
- name: Convert markdown to PDF
run: pandoc combined.md -o pdfs/combined.pdf
run: pandoc combined.md -o pdfs/combined.pdf --pdf-engine=pdflatex

# Upload the PDF artifact
- uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 6d91636

Please sign in to comment.