Skip to content

Build and populate cache #552

Build and populate cache

Build and populate cache #552

Workflow file for this run

name: Build and populate cache
on:
workflow_dispatch:
push:
paths:
- "flake/pkgs"
- "**.lock"
schedule:
- cron: "0 2 * * *"
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
package:
- lix
steps:
- name: Checkout
uses: actions/checkout@v4
with:
lfs: false
- name: Install Lix
uses: DeterminateSystems/nix-installer-action@main
with:
source-url: https://install.lix.systems/lix/lix-installer-x86_64-linux
logger: pretty
diagnostic-endpoint: ""
- name: Nix Magic Cache
uses: DeterminateSystems/magic-nix-cache-action@main
- name: Setup cachix
uses: cachix/cachix-action@v15
with:
name: isabelroses
signingKey: "${{ secrets.CACHIX_SIGNING_KEY }}"
authToken: "${{ secrets.CACHIX_TOKEN }}"
- name: Build from the matrix
run: nix build -L .#${{ matrix.package }}