forked from Bos55/nix-config
escape?
This commit is contained in:
parent
44131ad8e7
commit
68c4b3e0dc
1 changed files with 2 additions and 2 deletions
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
|
|
@ -22,7 +22,7 @@ jobs:
|
||||||
- name: "Determine hosts"
|
- name: "Determine hosts"
|
||||||
id: hosts
|
id: hosts
|
||||||
run: |
|
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}"
|
printf "hostnames=%s\n" "${hostnames}" >> "${GITHUB_OUTPUT}"
|
||||||
|
|
||||||
build:
|
build:
|
||||||
|
|
@ -41,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: |
|
||||||
printf "%s\n" "${{ needs.determine-hosts.outputs.hosts }}"
|
printf "%q \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 }}"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue