Skip to content

Build and populate cache #16

Build and populate cache

Build and populate cache #16

Workflow file for this run

name: Build and populate cache
on:
workflow_dispatch:
push:
paths:
- "flake/pkgs"
- "**.lock"
schedule:
- cron: "0 1 * * *"
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
package:
- bellado
- catppuccinifier-cli
- lutgen-rs
- patched-gjs
- ags
- plymouth-theme-catppuccin
steps:
- uses: easimon/maximize-build-space@v8
with:
overprovision-lvm: true
remove-android: true
remove-dotnet: true
remove-haskell: true
- name: Checkout
uses: actions/checkout@v4
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
with:
logger: pretty
- name: Setup cachix
uses: cachix/cachix-action@v12
with:
name: isabelroses
signingKey: "${{ secrets.CACHIX_SIGNING_KEY }}"
authToken: "${{ secrets.CACHIX_TOKEN }}"
- name: Set default git branch (to reduce log spam)
run: git config --global init.defaultBranch main
- name: Build from the matrix
run: nix build -L .#${{ matrix.package }}