ci: Fix per-job build
Some checks failed
CI / Check, build and cache Nix flake (push) Has been cancelled
Some checks failed
CI / Check, build and cache Nix flake (push) Has been cancelled
This commit is contained in:
parent
d8ca87bfd8
commit
49f8276ab7
@ -33,6 +33,7 @@ jobs:
|
||||
run: |
|
||||
nix eval --json --apply "builtins.attrNames" .#ci.x86_64-linux | jq -cr '.[]' | while read job; do
|
||||
echo "Building $job"
|
||||
nix build --no-link .#ci.x86_64-linux."$job" --json
|
||||
path="$(nix build --no-link .#ci.x86_64-linux."$job" --json | jq -r .[0].outputs.out)"
|
||||
echo "Caching $job"
|
||||
ci/push-to-cache.sh "$path"
|
||||
|
Loading…
Reference in New Issue
Block a user