New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Travis Cache directory does not work for a folder #9814
Comments
you can use |
Thanks for contributing to this issue. As it has been 90 days since the last activity, we are automatically closing the issue in 7 days. This is often because the request was already solved in some way and it just wasn't updated or it's no longer applicable. If that's not the case, please respond before the issue is closed, or open a new one after. We'll gladly take a look again! You can read more here: https://blog.travis-ci.com/2018-03-09-closing-old-issues |
How did you come to this conclusion? If nothing in the Closing this for now. If you have reasons to still believe that it is not, do let us know. |
This should considerably speed up CI builds and we rarely touch add or remove vendor roles. If that was the case, Travis will store any modifications in the cache. I guessed that from docs and a PR: > Only modifications made to the cached directories from normal pushes are stored. source: https://docs.travis-ci.com/user/caching > If nothing in the dist directory changed during the build, nothing new will be uploaded. source: travis-ci/travis-ci#9814 (comment)
This should considerably speed up CI builds and we rarely touch add or remove vendor roles. If that was the case, Travis will store any modifications in the cache. I guessed that from docs and a PR: > Only modifications made to the cached directories from normal pushes are stored. source: https://docs.travis-ci.com/user/caching > If nothing in the dist directory changed during the build, nothing new will be uploaded. source: travis-ci/travis-ci#9814 (comment)
I have the following configuration for cache directories on the jobs
In this case I want storage a
./dist
folder generated for webpack build and use this folder in the next step, but once time that the job finished the folder is not stored as shows the following image:https://travis-ci.org/gpincheiraa/bln-frontend-project1/jobs/397192138
¿Why this folder is not persisted in caché?
Update:
I created a new repository for checking if this not works but it's working!!!
creating dist folder and adding it to caché
https://travis-ci.org/gpincheiraa/travis-cache-webpack/jobs/397422919
check if the folder cached it is available
https://travis-ci.org/gpincheiraa/travis-cache-webpack/jobs/397422920
The text was updated successfully, but these errors were encountered: