Skip to content

Update exercise

Update exercise #1407

name: PDF creation
on:
push:
branches:
- "*"
pull_request:
branches:
- "*"
workflow_dispatch:
jobs:
create_pdfs:
runs-on: ubuntu-22.04
container: pandoc/latex:2
steps:
- name: Install bash
run: apk add bash
- name: Checkout repository
uses: actions/checkout@v2
- name: Compile PDFs (slides)
run: |
./scripts/create-pdf-from-markdown.sh slides
- name: Upload slides
uses: actions/upload-artifact@master
with:
name: slides
path: slides
retention-days: 7
- name: Compile PDFs (quizzes)
run: |
./scripts/create-pdf-from-markdown.sh quiz
- name: Compile PDFs (exercises)
run: |
./scripts/create-pdf-from-markdown.sh exercise
- name: Compile PDFs (demos)
run: |
./scripts/create-pdf-from-markdown.sh demo
- name: Upload texts
uses: actions/upload-artifact@master
with:
name: texts
path: texts
retention-days: 7