1concurrency:
2 cancel-in-progress: true
3 group: ${{ github.workflow }}-${{ github.ref }}
4jobs:
5 build-jezebel:
6 runs-on: ubuntu-latest
7 steps:
8 - name: Free Disk Space (Ubuntu)
9 uses: jlumbroso/free-disk-space@main
10 - name: Checkout
11 uses: actions/checkout@main
12 with:
13 fetch-depth: 1
14 - name: Install Nix
15 uses: DeterminateSystems/nix-installer-action@main
16 - name: Cachix
17 uses: cachix/cachix-action@master
18 with:
19 authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
20 name: ayla6
21 - name: Build jezebel
22 run: nix build --accept-flake-config --print-out-paths .#nixosConfigurations.jezebel.config.system.build.toplevel
23 build-morgana:
24 runs-on: ubuntu-latest
25 steps:
26 - name: Free Disk Space (Ubuntu)
27 uses: jlumbroso/free-disk-space@main
28 - name: Checkout
29 uses: actions/checkout@main
30 with:
31 fetch-depth: 1
32 - name: Install Nix
33 uses: DeterminateSystems/nix-installer-action@main
34 - name: Cachix
35 uses: cachix/cachix-action@master
36 with:
37 authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
38 name: ayla6
39 - name: Build morgana
40 run: nix build --accept-flake-config --print-out-paths .#nixosConfigurations.morgana.config.system.build.toplevel
41 build-nanpi:
42 runs-on: ubuntu-latest
43 steps:
44 - name: Free Disk Space (Ubuntu)
45 uses: jlumbroso/free-disk-space@main
46 - name: Checkout
47 uses: actions/checkout@main
48 with:
49 fetch-depth: 1
50 - name: Install Nix
51 uses: DeterminateSystems/nix-installer-action@main
52 - name: Cachix
53 uses: cachix/cachix-action@master
54 with:
55 authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
56 name: ayla6
57 - name: Build nanpi
58 run: nix build --accept-flake-config --print-out-paths .#nixosConfigurations.nanpi.config.system.build.toplevel
59name: build-nixos
60'on':
61 push:
62 paths-ignore:
63 - '**/*.md'
64 - .github/**
65 - _img/**
66 workflow_dispatch: {}