Enable manual triggering of the build workflow #66
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 Volumetric Extension" | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- run: pip install wheel | |
- run: pip install --force-reinstall -v "grip==4.6.0" | |
- 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 | |