add action to generate pdf from latex
This commit is contained in:
@@ -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
|
||||||
Reference in New Issue
Block a user