From 97e5345ceb8270bd0dcf66b63b1301deeac8c5c0 Mon Sep 17 00:00:00 2001 From: Xiangdong Zeng Date: Thu, 19 Dec 2024 10:31:31 +0800 Subject: [PATCH] add github actions --- .github/workflows/main.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..1fb35d8 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,18 @@ +name: build + +on: push + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: xu-cheng/latex-action@v3 + with: + root_file: lshort-zh-cn.tex + working_directory: src + args: -r latexmkrc + - uses: actions/upload-artifact@v4 + with: + name: PDF + path: src/lshort-zh-cn.pdf