Skip to content
This repository has been archived by the owner on Nov 1, 2024. It is now read-only.

Bump actions/upload-artifact from 3 to 4 (#64) #110

Bump actions/upload-artifact from 3 to 4 (#64)

Bump actions/upload-artifact from 3 to 4 (#64) #110

Workflow file for this run

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@v9
- name: Cache Nix artifacts
uses: DeterminateSystems/magic-nix-cache-action@v2
- name: Nix Flake Check
run: nix flake check -L
- 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