Skip to content

Update compile-and-upload-pdf.yml #6

Update compile-and-upload-pdf.yml

Update compile-and-upload-pdf.yml #6

# This is a basic workflow to help you get started with Actions
name: Build Latex Document
# Controls when the workflow will run
on: [push]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
build_latex:
runs-on: ubuntu-latest
steps:
- name: Set up Git repository
uses: actions/checkout@v3
- name: Compile LaTeX document
uses: xu-cheng/latex-action@v3
with:
root_file: main.tex
extra_fonts: NotoSerifDevanagari.ttf
latexmk_use_xelatex: true
- name: Upload the thesis document
uses: actions/upload-artifact@v3
with:
name: PDF
path: main.pdf