mirror of
https://code.forgejo.org/actions/cache.git
synced 2025-04-21 16:23:56 +08:00
Rewrite readmes (#1085)
* Improve readmes * Add markdown for default value Co-authored-by: Sankalp Kotewar <98868223+kotewar@users.noreply.github.com> --------- Co-authored-by: Sankalp Kotewar <98868223+kotewar@users.noreply.github.com>
This commit is contained in:
parent
627f0f41f6
commit
22d3da765b
5 changed files with 66 additions and 57 deletions
|
@ -1,10 +1,10 @@
|
|||
# Caching Strategies
|
||||
|
||||
This document lists some of the strategies (and example workflows if possible) which can be used
|
||||
This document lists some of the strategies (and example workflows if possible) which can be used to ...
|
||||
|
||||
- to use an effective cache key and/or path
|
||||
- to solve some common use cases around saving and restoring caches
|
||||
- to leverage the step inputs and outputs more effectively
|
||||
- use an effective cache key and/or path
|
||||
- solve some common use cases around saving and restoring caches
|
||||
- leverage the step inputs and outputs more effectively
|
||||
|
||||
## Choosing the right key
|
||||
|
||||
|
@ -118,7 +118,7 @@ Home directory (`~/`) = `C:\Users\runneradmin`
|
|||
`process.env['RUNNER_TEMP']` = `D:\a\_temp`
|
||||
`process.cwd()` = `D:\a\repo\repo`
|
||||
|
||||
#### MacOS Paths
|
||||
#### macOS Paths
|
||||
|
||||
Home directory (`~/`) = `/Users/runner`
|
||||
`${{ github.workspace }}` = `/Users/runner/work/repo/repo`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue