Skip to content

Update draft-pdf.yml #6

Update draft-pdf.yml

Update draft-pdf.yml #6

Workflow file for this run

name: Compile JOSS Paper
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install dependencies
run:
sudo apt-get update && sudo apt-get install -y pandoc texlive texlive-xetex
- name: Compile PDF
run:
pandoc paper.md -o paper.pdf --bibliography=paper.bib --filter pandoc-citeproc
pandoc paper.md -o paper_JOSS.md --lua-filter=.github/normalize-metadata.lua
- name: Compile Final PDF
run:
pandoc paper_JOSS.md -o paper.pdf --pdf-engine=xelatex
- name: Upload PDF artifact
uses: actions/upload-artifact@v2
with:
name: joss-paper-pdf
path: paper.pdf