Systemsicherheit/.gitea/workflows/build-latex.yaml
Paul Zinselmeyer 8c83de04c4
Some checks failed
Latex Build / build-latex (Assignment 4 - Protokollsicherheit (Praxis)) (push) Has been cancelled
add ci latex
2024-05-27 11:22:35 +02:00

23 lines
604 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:
- run: apt update && apt install sudo -y
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v27
- uses: DeterminateSystems/magic-nix-cache-action@main
- run: "nix build .#\"${{ matrix.assignment }}\""
- uses: actions/upload-artifact@v3
with:
name: "${{ matrix.assignment }}.pdf"
path: result/abgabe.pdf