Template
add action to generate pdf from latex
This commit is contained in:
1 parent
09b4797937
commit
fb2ee5b56c
1 file changed
+19
@@ -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