without json parse
Some checks failed
Build / build (push) Failing after 7s
Build / build (pull_request) Failing after 7s
Build / Determining hosts to build (push) Successful in 8s
Build / Determining hosts to build (pull_request) Successful in 8s

This commit is contained in:
Tibo De Peuter 2026-02-08 15:30:52 +01:00
parent ea3492ee27
commit a5ed47a478
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 | tr '\n' ', ' | sed 's/,$//')"
hostnames="$(nix eval .#nixosConfigurations --apply builtins.attrNames --json)"
printf "hostnames=%s\n" "${hostnames}" >> "${GITHUB_OUTPUT}"
build:
@ -32,7 +32,7 @@ jobs:
needs: determine-hosts
strategy:
matrix:
hostname: ${{ fromJSON(needs.determine-hosts.outputs.hosts) }}
hostname: ${{ needs.determine-hosts.outputs.hosts }}
steps:
- uses: actions/checkout@v5