mirror of
https://github.com/actions/cache.git
synced 2025-04-01 19:06:35 +00:00
Update CACHING.md
Co-authored-by: Bishal Prasad <bishal-pdmsft@github.com>
This commit is contained in:
parent
3a4b1835dd
commit
e872158b55
1 changed files with 3 additions and 1 deletions
|
@ -101,7 +101,9 @@ The [GitHub Context](https://docs.github.com/en/actions/learn-github-actions/con
|
|||
|
||||
### Understanding how to choose path
|
||||
|
||||
While setting paths for caching dependencies it is important to give correct path depending on the image you are using and if you are running the action inside or outside the container. Below are some paths one should keep in mind while writing their workflow files.
|
||||
While setting paths for caching dependencies it is important to give correct path depending on the hosted runner you are using or whether the action is running in a container job. Assigning different `path` for save and restore will result in cache miss.
|
||||
|
||||
Below are GiHub hosted runner specific paths one should take care of when writing a workflow which saves/restores caches across OS.
|
||||
|
||||
#### Ubuntu Paths
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue