forked from Bos55/nix-config
Using EOF
This commit is contained in:
parent
9008b6ab3d
commit
02f2ade703
1 changed files with 5 additions and 1 deletions
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
|
|
@ -23,7 +23,11 @@ jobs:
|
|||
id: hosts
|
||||
run: |
|
||||
hostnames="$(nix eval .#nixosConfigurations --apply builtins.attrNames --json)"
|
||||
printf "hostnames=%q \n" "${hostnames}" >> "${GITHUB_OUTPUT}" # Preserve quotes
|
||||
{
|
||||
echo "hostnames<<EOF"
|
||||
echo "${hostnames}"
|
||||
echo EOF
|
||||
} >> "${GITHUB_OUTPUT}" # Preserve quotes
|
||||
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue