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
I am seeing some strange behavior when saving and restoring cache.
I have a scenario when i only need to restore 5-6 files during the build, so this is the path i am passing into the cache step and this seems to work. The cache is created and is very small.
When i run the workflow again and the cache is hit, i notice that new changes i have made to the code are missing and i think the cache is not only restoring the file path but the entire project.
Is there anyway i can stop this from happening because i need the workflow to get the latest changes from the project but these 5-6 cached files need to be inserted.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am seeing some strange behavior when saving and restoring cache.
I have a scenario when i only need to restore 5-6 files during the build, so this is the path i am passing into the cache step and this seems to work. The cache is created and is very small.
When i run the workflow again and the cache is hit, i notice that new changes i have made to the code are missing and i think the cache is not only restoring the file path but the entire project.
Is there anyway i can stop this from happening because i need the workflow to get the latest changes from the project but these 5-6 cached files need to be inserted.
Below is the restore step
Here is the save cache step
Any help is highly appreciated
Beta Was this translation helpful? Give feedback.
All reactions