From c0b3cb6673b95e2c7d198899e473495d6aaa65d8 Mon Sep 17 00:00:00 2001 From: Sergey Vartanov Date: Tue, 23 Jul 2024 02:33:18 +0400 Subject: [PATCH] Support PDF files creation in GitHub actions --- .github/workflows/build.yml | 12 ++++++++++++ data/text.tex | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 74e9b70..706a303 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,3 +22,15 @@ jobs: mkdir out build/language > out/ipa.tex cp data/*.tex out/ + - name: Construct `table.pdf` + uses: xu-cheng/latex-action@v3 + with: + working_directory: out + root_file: table.tex + latexmk_use_xelatex: true + - name: Construct `text.pdf` + uses: xu-cheng/latex-action@v3 + with: + working_directory: out + root_file: text.tex + latexmk_use_xelatex: true diff --git a/data/text.tex b/data/text.tex index 05e1682..f529548 100644 --- a/data/text.tex +++ b/data/text.tex @@ -11,7 +11,7 @@ \begin{figure} \centerline{ - \includegraphics{out/table.pdf} + \includegraphics{table.pdf} } \caption{Main IPA characters} \end{figure}