2024-05-27 11:10:14 +02:00
|
|
|
name: "Latex Build"
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
push:
|
|
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
|
|
build-latex:
|
|
|
|
runs-on: debian-latest
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
assignment: [
|
2024-05-27 18:53:37 +02:00
|
|
|
"Assignment 4 - Protokollsicherheit (Praxis)",
|
|
|
|
"Assignment 5 - Software Security - Teil 1"
|
2024-05-27 11:10:14 +02:00
|
|
|
]
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- uses: DeterminateSystems/nix-installer-action@main
|
|
|
|
- uses: DeterminateSystems/magic-nix-cache-action@main
|
|
|
|
- run: "nix build .#\"${{ matrix.assignment }}\""
|
|
|
|
- uses: actions/upload-artifact@v3
|
|
|
|
with:
|
|
|
|
name: "${{ matrix.assignment }}"
|
|
|
|
path: result/abgabe.pdf
|