Skip to content

Commit 3ba45a8

Browse files
authored
Merge pull request #12853 from zmwangx/caching-clarity-relative-path-base
caching-dependencies-to-speed-up-workflows.md: clarify base of a relative path
2 parents cb0d938 + 010438e commit 3ba45a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/actions/advanced-guides/caching-dependencies-to-speed-up-workflows.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ For more information, see [`actions/cache`](https://github.com/actions/cache).
8888
### Input parameters for the `cache` action
8989

9090
- `key`: **Required** The key created when saving a cache and the key used to search for a cache. Can be any combination of variables, context values, static strings, and functions. Keys have a maximum length of 512 characters, and keys longer than the maximum length will cause the action to fail.
91-
- `path`: **Required** The file path on the runner to cache or restore. The path can be an absolute path or relative to the working directory.
91+
- `path`: **Required** The file path on the runner to cache or restore. The path can be an absolute path or relative to the workspace directory.
9292
- Paths can be either directories or single files, and glob patterns are supported.
9393
- With `v2` of the `cache` action, you can specify a single path, or you can add multiple paths on separate lines. For example:
9494
```

0 commit comments

Comments
 (0)