fix(script): quote NEW_PATHS to preserve newlines

hopefully finally gets rid of spaces which break attic
This commit is contained in:
TECHNOFAB 2025-04-04 22:22:35 +02:00
parent 9cb54b33e8
commit b193df30f4

View file

@ -12,7 +12,7 @@ echo -e "\\e[0Ksection_start:`date +%s`:finalize_nix_ci[collapsed=true]\\r\\e[0K
if [ -z "$NIX_CI_DISABLE_CACHE" ]; then
echo -e "\\e[0Ksection_start:`date +%s`:cache_push[collapsed=true]\\r\\e[0KPushing $COUNT new store paths to cache ($NIX_CI_CACHE_STRATEGY)"
echo -n $NEW_PATHS | {
echo -n "$NEW_PATHS" | {
case "$NIX_CI_CACHE_STRATEGY" in
"runner")
export RUNNER_CACHE=''${RUNNER_CACHE:-"file://$(pwd)/.nix-cache"}