cppcheck/.github/workflows/buildman.yml

29 lines
559 B
YAML

name: Build manual
on: [push, pull_request]
permissions:
contents: read
jobs:
convert_via_pandoc:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- run: |
mkdir output
- uses: docker://pandoc/latex:2.9
with:
args: --output=output/manual.html man/manual.md
- uses: docker://pandoc/latex:2.9
with:
args: --output=output/manual.pdf man/manual.md
- uses: actions/upload-artifact@v2
with:
name: output
path: output