add action to generate pdf from latex

This commit is contained in:
2025-01-17 15:18:47 +01:00
parent 09b4797937
commit fb2ee5b56c

View File

@@ -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