markdown: switch to leaner yaml header #157
Workflow file for this run
This file contains hidden or 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
| name: TESTS | |
| on: | |
| # triggered by pull requests | |
| pull_request: | |
| # triggered manually | |
| workflow_dispatch: | |
| jobs: | |
| # try building slides (pandoc, beamer) | |
| test_beamer: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - uses: cagix/pandoc-lecture-zen@master | |
| with: | |
| mktarget: beamer | |
| pandoc_data: .pandoc | |
| metadata: pm.yaml | |
| publish_dir: _beamer | |
| # try building lecture notes (gfm) | |
| test_gfm: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - uses: cagix/pandoc-lecture-zen@master | |
| with: | |
| mktarget: gfm | |
| pandoc_data: .pandoc | |
| metadata: pm.yaml | |
| publish_dir: _gfm | |
| # try building lecture notes (docsify) | |
| test_docsify: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - uses: cagix/pandoc-lecture-zen@master | |
| with: | |
| mktarget: docsify | |
| pandoc_data: .pandoc | |
| metadata: pm.yaml | |
| publish_dir: _docsify | |
| # try building lecture notes (pdf) | |
| test_pdf: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - uses: cagix/pandoc-lecture-zen@master | |
| with: | |
| mktarget: pdf | |
| pandoc_data: .pandoc | |
| metadata: pm.yaml | |
| publish_dir: _pdf |