From 4527587c65a1c171d03580132563e6ec7c527bd5 Mon Sep 17 00:00:00 2001 From: Zihan <32484940+wzh4464@users.noreply.github.com> Date: Mon, 17 Jun 2024 17:37:03 +0800 Subject: [PATCH] chore: Update release-pdf.yml to exclude Excalidraw files from PDF generation --- .github/workflows/release-pdf.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release-pdf.yml b/.github/workflows/release-pdf.yml index 8f1eab6..837712f 100644 --- a/.github/workflows/release-pdf.yml +++ b/.github/workflows/release-pdf.yml @@ -45,7 +45,7 @@ jobs: - name: Convert Markdown to PDF with xelatex run: | mkdir -p pdfs - find . -name "Excalidraw" -prune -name "*.md" | while IFS= read -r file; do + find . -path "./Excalidraw" -prune -o -name "*.md" -print | while IFS= read -r file; do pandoc "$file" -o "pdfs/$(basename "$file" .md).pdf" --pdf-engine=xelatex --template=template/my_template.latex done