This repository has been archived by the owner on Nov 1, 2024. It is now read-only.
fix: update flake.lock #250
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Slides | |
on: | |
push: | |
branches: | |
- master | |
- main | |
pull_request: | |
branches: | |
- master | |
- main | |
jobs: | |
build-release: | |
name: Build Slides | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install Nix | |
uses: DeterminateSystems/nix-installer-action@v14 | |
- name: Cache Nix artifacts | |
uses: DeterminateSystems/magic-nix-cache-action@v8 | |
- name: Build Slides | |
run: nix build -L | |
- name: Copy result out of nix store | |
run: cp -v result/slides.pdf slides.pdf | |
- name: Upload Artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: output | |
path: ./slides.pdf | |
if-no-files-found: error |