Skip to content

Github CI settings for compiling latex #2

Github CI settings for compiling latex

Github CI settings for compiling latex #2

Workflow file for this run

name: Compile LaTeX on Push
on:
push:
branches:
- main # Change this to your main branch name
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Compile LaTeX
uses: xu-cheng/latex-action@v2
with:
root_file: main.tex # Replace 'main.tex' with your main LaTeX file
args: -jobname=Engineering-Thesis
- name: Upload thesis PDF
uses: actions/upload-artifact@v2
if: success()
with:
name: Engineering-Thesis.pdf
path: Engineering-Thesis.pdf