You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when creating dynamic variables like files: sh: "find ." in multiple subfolders, they won't be correctly evaluated. Due to internal caching, only the first result will be used.
viktorasm
changed the title
dynamic variable resolution does not take into account current directory
Dynamic variable resolution does not take into account current directory
Apr 4, 2025
Description
when creating dynamic variables like
files: sh: "find ."
in multiple subfolders, they won't be correctly evaluated. Due to internal caching, only the first result will be used.Posted PR with reproduction and fix: #2160
Sample input
Folder structure:
Taskfile.yml
sub1/Taskfile.yaml
,sub2/Taskfile.yaml
:Actual output:
Note how "s1" lists file "b", which is incorrect.
The text was updated successfully, but these errors were encountered: