fix: finalize_nix_ci echo added space to last derivation, fixed with -n

This commit is contained in:
technofab 2025-04-04 21:08:36 +02:00
parent 7cbd273de7
commit 9cb54b33e8

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 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 -e "\\e[0Ksection_start:`date +%s`:cache_push[collapsed=true]\\r\\e[0KPushing $COUNT new store paths to cache ($NIX_CI_CACHE_STRATEGY)"
echo $NEW_PATHS | { echo -n $NEW_PATHS | {
case "$NIX_CI_CACHE_STRATEGY" in case "$NIX_CI_CACHE_STRATEGY" in
"runner") "runner")
export RUNNER_CACHE=''${RUNNER_CACHE:-"file://$(pwd)/.nix-cache"} export RUNNER_CACHE=''${RUNNER_CACHE:-"file://$(pwd)/.nix-cache"}