Skip to content

Update upload-artifact GitHub action #42

Update upload-artifact GitHub action

Update upload-artifact GitHub action #42

Workflow file for this run

name: Build LaTeX document
on:
push:
workflow_dispatch:
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:
work_in_root_file_dir: true
root_file: |
main.tex
slides/thesis-slides.tex
- name: Upload PDF file
uses: actions/upload-artifact@v4
with:
name: Thesis
path: |
main.pdf
slides/thesis-slides.pdf