mirror of
https://gitlab.com/TECHNOFAB/nix-gitlab-ci.git
synced 2025-12-12 02:00:13 +01:00
fix(script): quote NEW_PATHS to preserve newlines
hopefully finally gets rid of spaces which break attic
This commit is contained in:
parent
9cb54b33e8
commit
b193df30f4
1 changed files with 1 additions and 1 deletions
|
|
@ -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 -n $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"}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue