Replies: 1 comment
-
@hbasaric How about caching directories that contain 37 files? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I am looking to create a cache key for a list of 37 files. I am trying to avoid having multiple blocks of code that create a cache key for each file individually. Is there a way to iterate over a list of files and create a key for each file?
This is what my code looks like to create a cache key and install/cache a single file (FileName) within my GitHub Actions workflow run:
I would like to avoid repeating this block of code 37 times. If possible, I would like to define an array or a list of strings that correspond to each file name and iterate over this list to create a key for each file.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions