How to concatenate strings inside hashFiles #25718
|
I want to use an input variable, like from a However, the workflow doesn’t run due to the following error:
That makes sense since there is no and using the |
Replies: 2 comments
|
We do something similar for caching our C# nuget packages. Since we use a mono-repo we need the Here’s our cache action for reference. |
|
wow that works! I swear I tried the |
We do something similar for caching our C# nuget packages. Since we use a mono-repo we need the
hashFileskey to be based off the project sub-directory. You can use theformathelper to build the path strings - TryhashFiles(format('{0}/**', matrix.apps.path)).Here’s our cache action for reference.