Skip to content

Update build_pdf.yml #5

Update build_pdf.yml

Update build_pdf.yml #5

Workflow file for this run

name: Build PDF with LaTeX
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up LaTeX
run: |
sudo apt-get update
sudo apt-get install -y texlive-xetex
- name: Compile LaTeX document
run: |
xelatex -interaction=nonstopmode -halt-on-error latex/lib.tex
bibtex latex/lib
xelatex -interaction=nonstopmode -halt-on-error latex/lib.tex
xelatex -interaction=nonstopmode -halt-on-error latex/lib.tex
- name: Upload PDF artifact
uses: actions/upload-artifact@v2
with:
name: pdf
path: lib.pdf