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: 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 }}.pdf" path: result/abgabe.pdf