diff --git a/.github/workflows/kiosk-iso.yml b/.github/workflows/kiosk-iso.yml index 82d2f2d..3171b4d 100644 --- a/.github/workflows/kiosk-iso.yml +++ b/.github/workflows/kiosk-iso.yml @@ -2,38 +2,32 @@ name: Build NixOS Kiosk ISO on: push: - branches: [ profile-install ] + branches: [ main, 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