-
-
Notifications
You must be signed in to change notification settings - Fork 5
44 lines (37 loc) · 996 Bytes
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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 }}