Skip to content

Use cachix action instead of hand rolling one #8

Use cachix action instead of hand rolling one

Use cachix action instead of hand rolling one #8

Workflow file for this run

name: "Build NH"
on:
pull_request:
push:
branches-ignore:
- "update-*"
workflow_dispatch:
jobs:
build:
runs-on: ${{ matrix.runner }}
strategy:
matrix:
runner:
- ubuntu-latest
- [self-hosted, linux, ARM64]
- [self-hosted, macOS, ARM64]
- [self-hosted, macOS, x64]
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v25
- uses: cachix/cachix-action@v14
with:
name: toyvo
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
- run: nix build --accept-flake-config