23 lines
570 B
YAML
23 lines
570 B
YAML
|
name: "Latex Build"
|
||
|
on:
|
||
|
pull_request:
|
||
|
push:
|
||
|
workflow_dispatch:
|
||
|
jobs:
|
||
|
build-latex:
|
||
|
runs-on: debian-latest
|
||
|
strategy:
|
||
|
matrix:
|
||
|
assignment: [
|
||
|
"Assignment 4 - Protokollsicherheit (Praxis)"
|
||
|
]
|
||
|
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
|