Updates from icpp #197
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: Generate slides from source | |
on: | |
push: | |
paths: | |
- 'Content/Presentations/**' | |
- 'Content/ReleaseBriefings/**' | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
which: [Presentations, ReleaseBriefings] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install packages | |
run: > | |
sudo apt-get update && | |
DEBIAN_FRONTEND=noninteractive | |
sudo apt-get install -y --no-install-recommends | |
make | |
latexmk | |
lmodern | |
python3-pygments | |
texlive | |
texlive-latex-extra | |
texlive-plain-generic | |
- name: Checkout source | |
uses: actions/checkout@v4 | |
- name: Build slides | |
run: > | |
cd Content/${{ matrix.which }} && | |
make | |
- name: Upload PDFs as artifacts | |
id: deployment | |
uses: actions/[email protected] | |
with: | |
name: Slides${{ matrix.which }} | |
path: | | |
Content/${{ matrix.which }}/release-*.pdf | |
Content/${{ matrix.which }}/modularized/*.pdf |