Compare commits
8 commits
f4efd87aa5
...
85c3b4e023
| Author | SHA1 | Date | |
|---|---|---|---|
|
85c3b4e023 |
|||
|
8c7a442610 |
|||
|
e2e0ea90f5 |
|||
|
7a6c327002 |
|||
|
4a64d35bc9 |
|||
|
269985b0e3 |
|||
|
2d771638b4 |
|||
|
b828dcd15f |
1 changed files with 11 additions and 5 deletions
16
.github/workflows/kiosk-iso.yml
vendored
16
.github/workflows/kiosk-iso.yml
vendored
|
|
@ -2,32 +2,38 @@ name: Build NixOS Kiosk ISO
|
|||
|
||||
on:
|
||||
push:
|
||||
branches: [ main, profile-install ]
|
||||
branches: [ profile-install ]
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
flake-check:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: nixos/nix:2.33.0
|
||||
env:
|
||||
NIX_CONFIG: extra-experimental-features = nix-command flakes
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Install Nix
|
||||
run: |
|
||||
curl -L https://nixos.org/nix/install | sh
|
||||
. /home/runner/.nix-profile/etc/profile.d/nix.sh
|
||||
nix --version
|
||||
- name: Flake check
|
||||
run: nix flake check -L
|
||||
|
||||
build-iso:
|
||||
runs-on: ubuntu-latest
|
||||
needs: [ flake-check ]
|
||||
container:
|
||||
image: nixos/nix:2.33.0
|
||||
env:
|
||||
NIX_CONFIG: extra-experimental-features = nix-command flakes
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Install Nix
|
||||
run: |
|
||||
curl -L https://nixos.org/nix/install | sh
|
||||
. /home/runner/.nix-profile/etc/profile.d/nix.sh
|
||||
nix --version
|
||||
- name: Build ISO
|
||||
run: |
|
||||
nix --version
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue