escape?
Some checks failed
Build / Determining hosts to build (push) Successful in 8s
Build / build (push) Failing after 7s
Build / Determining hosts to build (pull_request) Successful in 7s
Build / build (pull_request) Failing after 6s

This commit is contained in:
Tibo De Peuter 2026-02-08 15:26:27 +01:00
parent 44131ad8e7
commit 68c4b3e0dc
Signed by: tdpeuter
GPG key ID: 38297DE43F75FFE2

View file

@ -22,7 +22,7 @@ jobs:
- name: "Determine hosts"
id: hosts
run: |
hostnames="$(nix eval .#nixosConfigurations --apply builtins.attrNames --json)"
hostnames="$(nix eval .#nixosConfigurations --apply builtins.attrNames --json | tr '\n' ', ' | sed 's/,$//')"
printf "hostnames=%s\n" "${hostnames}" >> "${GITHUB_OUTPUT}"
build:
@ -41,7 +41,7 @@ jobs:
nix_path: nixpkgs=channel:nixos-unstable
- name: "Debug needs outputs"
run: |
printf "%s\n" "${{ needs.determine-hosts.outputs.hosts }}"
printf "%q \n" "${{ needs.determine-hosts.outputs.hosts }}"
- name: Debug Matrix
run: |
echo "The matrix value is: ${{ matrix.hostname }}"