dev #2

Open
tdpeuter wants to merge 43 commits from dev into main
Showing only changes of commit 3d4082c25c - Show all commits

View file

@ -32,22 +32,17 @@ jobs:
needs: determine-hosts needs: determine-hosts
strategy: strategy:
matrix: matrix:
hostname: ${{ needs.determine-hosts.outputs.hosts }} hostname: [
Development
Testing
]
steps: steps:
- uses: actions/checkout@v5 - uses: actions/checkout@v5
- uses: https://github.com/cachix/install-nix-action@v31 - uses: https://github.com/cachix/install-nix-action@v31
with: with:
nix_path: nixpkgs=channel:nixos-unstable nix_path: nixpkgs=channel:nixos-unstable
- name: "Debug needs outputs" - name: "Build host"
run: | run: |
printf "%s\n" "${{ needs.determine-hosts.outputs.hosts }}"
- name: Debug Matrix
run: |
echo "The matrix value is: ${{ matrix.hostname }}"
- name: "Define host"
run: |
echo "Building for: ${{ matrix.hostname }}"
- run: |
nixos-rebuild build --flake ".#${{ matrix.hostname }}" nixos-rebuild build --flake ".#${{ matrix.hostname }}"