Skip to content

Add workflow_dispatch trigger to build workflow #16

Add workflow_dispatch trigger to build workflow

Add workflow_dispatch trigger to build workflow #16

Workflow file for this run

# It is used to create am easily distributable and printable PDF
# version of a specification document written in markdown (3MF-style).
# (outdated) Documentation:
# https://github.com/3MFConsortium/spec_conventions/blob/master/generatePDFs/generatePDFs.md
on: [pull_request, workflow_dispatch]
name: Build
jobs:
build-linux:
runs-on: ubuntu-20.04
env:
SPECNAME: "3MF Core Specification"
steps:
- uses: actions/checkout@v4
with:
submodules: true
- run: pip install wheel
- run: pip install grip
- run: ./markdownToPDF/install_wkhtmltopdf.sh
- run: ./markdownToPDF/mdToPDF.sh "$SPECNAME"
- name: Upload PDF
uses: actions/upload-artifact@v4
with:
name: ${{ env.SPECNAME }}.pdf
path: ${{ env.SPECNAME }}.pdf