forked from Bos55/nix-config
fix json elements
This commit is contained in:
parent
bfbe4204e7
commit
cef1259f8d
1 changed files with 2 additions and 2 deletions
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
|
|
@ -20,7 +20,7 @@ jobs:
|
||||||
hosts="$(nix eval .#nixosConfigurations --apply builtins.attrNames --json)"
|
hosts="$(nix eval .#nixosConfigurations --apply builtins.attrNames --json)"
|
||||||
echo "hostnames=${hosts}" >> "$GITHUB_OUTPUT"
|
echo "hostnames=${hosts}" >> "$GITHUB_OUTPUT"
|
||||||
outputs:
|
outputs:
|
||||||
hosts: ${{ steps.hosts.outputs }}
|
hosts: ${{ steps.hosts.outputs.hostnames }}
|
||||||
|
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
@ -29,7 +29,7 @@ jobs:
|
||||||
needs: determine_hosts
|
needs: determine_hosts
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
hostname: ${{ fromJSON(needs.determine_hosts.outputs.hosts.hostnames) }}
|
hostname: ${{ fromJSON(needs.determine_hosts.outputs.hosts) }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5
|
- uses: actions/checkout@v5
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue