forked from Bos55/nix-config
dev #2
1 changed files with 2 additions and 6 deletions
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
|
|
@ -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 }}"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue