![]() Warning: Be mindful of the following when using caching with GitHub Actions: Alternatively, if you are caching the package managers listed below, using their respective setup-* actions requires minimal configuration and will create and restore dependency caches for you. The action creates and restores a cache identified by a unique key. To cache dependencies for a job, you can use GitHub's cache action. To help speed up the time it takes to recreate files like dependencies, GitHub can cache files you frequently use in workflows. Jobs on GitHub-hosted runners start in a clean runner image and must download dependencies each time, causing increased network utilization, longer runtime, and increased cost. For example, package and dependency management tools such as Maven, Gradle, npm, and Yarn keep a local cache of downloaded dependencies.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |