fix(workflows): Use the correct separator when filtering unknown files
This commit is contained in:
parent
d09ac44347
commit
36a74f5ff6
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ in
|
|||
${optionalString cfg.removeUnknown ''
|
||||
# Remove unknown workflow files
|
||||
for file in $(ls "$GIT_WC/.${cfg.platform}/workflows" | ${getExe pkgs.gnugrep} -v '\(${
|
||||
concatMapStringsSep "|" (name: "${name}.yaml") (attrNames cfg.workflows)
|
||||
concatMapStringsSep "\\|" (name: "${name}.yaml") (attrNames cfg.workflows)
|
||||
}\)'); do
|
||||
rm "$GIT_WC/.${cfg.platform}/workflows/$file" && echo "nix-actions: Removed $file"
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue