dev #2

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

View file

@ -23,11 +23,7 @@ jobs:
id: hosts id: hosts
run: | run: |
hostnames="$(nix eval .#nixosConfigurations --apply builtins.attrNames --json)" hostnames="$(nix eval .#nixosConfigurations --apply builtins.attrNames --json)"
{ printf "hostnames=%s\n" "${hostnames}" >> "${GITHUB_OUTPUT}"
echo "hostnames<<EOF"
echo "${hostnames}"
echo EOF
} >> "${GITHUB_OUTPUT}" # Preserve quotes
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -45,7 +41,7 @@ jobs:
nix_path: nixpkgs=channel:nixos-unstable nix_path: nixpkgs=channel:nixos-unstable
- name: "Debug needs outputs" - name: "Debug needs outputs"
run: | run: |
echo "${{ needs.determine-hosts.outputs.hosts }}" printf "%s\n" "${{ needs.determine-hosts.outputs.hosts }}"
- name: Debug Matrix - name: Debug Matrix
run: | run: |
echo "The matrix value is: ${{ matrix.hostname }}" echo "The matrix value is: ${{ matrix.hostname }}"