Skip to content

Change upload artifact version #6

Change upload artifact version

Change upload artifact version #6

Workflow file for this run

name: Build PDF
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Build Docker image
run: docker build -t custom-pandoc-latex .
- name: Generate PDF with Pandoc
run: docker run --rm --volume "${{ github.workspace }}:/data" --user `id -u`:`id -g` custom-pandoc-latex doc.md -o doc.pdf --template=/data/template.tex
- name: Upload PDF
uses: actions/upload-artifact@v4
with:
name: Whitepaper
path: doc.pdf