Skip to content

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

Update compile-and-upload-pdf.yml

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

# 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@v2
- name: Compile LaTeX document
uses: xu-cheng/latex-action@v2
with:
root_file: main.tex
extra_fonts: NotoSerifDevanagari.ttf
latexmk_use_xelatex: true
- name: Upload a build artifact
uses: actions/upload-artifact@v2.3.1
with:
name: PDF
path: yaman-phd-thesis.pdf