feat: Replaces nix dependencies from container
This commit is contained in:
parent
b828dcd15f
commit
2d771638b4
1 changed files with 10 additions and 4 deletions
14
.github/workflows/kiosk-iso.yml
vendored
14
.github/workflows/kiosk-iso.yml
vendored
|
|
@ -8,26 +8,32 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
flake-check:
|
flake-check:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
|
||||||
image: nixos/nix:2.33.0
|
|
||||||
env:
|
env:
|
||||||
NIX_CONFIG: extra-experimental-features = nix-command flakes
|
NIX_CONFIG: extra-experimental-features = nix-command flakes
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
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
|
- name: Flake check
|
||||||
run: nix flake check -L
|
run: nix flake check -L
|
||||||
|
|
||||||
build-iso:
|
build-iso:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: [ flake-check ]
|
needs: [ flake-check ]
|
||||||
container:
|
|
||||||
image: nixos/nix:2.33.0
|
|
||||||
env:
|
env:
|
||||||
NIX_CONFIG: extra-experimental-features = nix-command flakes
|
NIX_CONFIG: extra-experimental-features = nix-command flakes
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
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
|
- name: Build ISO
|
||||||
run: |
|
run: |
|
||||||
nix --version
|
nix --version
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue