From fb2ee5b56c4e3192f8be858e605c90089026d2a5 Mon Sep 17 00:00:00 2001 From: Tobias Hilfiker Date: Fri, 17 Jan 2025 15:18:47 +0100 Subject: [PATCH] add action to generate pdf from latex --- .gitea/actions/actions.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.gitea/actions/actions.yaml b/.gitea/actions/actions.yaml index e69de29..a08f821 100644 --- a/.gitea/actions/actions.yaml +++ b/.gitea/actions/actions.yaml @@ -0,0 +1,19 @@ +name: Generate and publish Document +on: [ push ] + +jobs: + generate-and-publish: + runs-on: ubuntu-latest + timeout-minutes: 10 + steps: + - name: Set up Git repository + uses: actions/checkout@v4 + - name: Compile LaTeX document + uses: xu-cheng/latex-action@v3 + with: + root_file: main.tex + - name: Upload PDF file + uses: actions/upload-artifact@v4 + with: + name: PDF + path: main.pdf \ No newline at end of file