Skip to content

Commit bb24903

Browse files
Add exercise 6 workflow for PDF generation using Pandoc
1 parent df105ff commit bb24903

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Workflow of exercise 6
2+
run-name: Sixth workflow
3+
4+
permissions: {}
5+
6+
on:
7+
push:
8+
branches: [ main ]
9+
pull_request:
10+
branches: [ main ]
11+
workflow_dispatch:
12+
13+
jobs:
14+
container_job:
15+
runs-on: ubuntu-latest
16+
container: pandoc/extra
17+
steps:
18+
- uses: actions/checkout@v6
19+
20+
- run: pandoc --template eisvogel exercises.md -o exercises.pdf
21+
22+
- uses: actions/upload-artifact@v7
23+
with:
24+
name: exercise sheet
25+
path: exercises.pdf
26+
retention-days: 1
27+

0 commit comments

Comments
 (0)