Skip to content

Commit 30ce38e

Browse files
authored
Correct description of cache-dependency-glob (#676)
As per the sole commit: > When `working-directory` is set, paths in `cache-dependency-glob` are relative to it.
1 parent 0d20755 commit 30ce38e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ inputs:
3131
default: "auto"
3232
cache-dependency-glob:
3333
description:
34-
"Glob pattern to match files relative to the repository root to control
34+
"Glob pattern to match files relative to the working directory to control
3535
the cache."
3636
default: |
3737
**/*requirements*.txt

docs/caching.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ use it in subsequent steps. For example, to use the cache in the above case:
4141

4242
If you want to control when the GitHub Actions cache is invalidated, specify a glob pattern with the
4343
`cache-dependency-glob` input. The GitHub Actions cache will be invalidated if any file matching the glob pattern
44-
changes. If you use relative paths, they are relative to the repository root.
44+
changes. If you use relative paths, they are relative to the working directory.
4545

4646
> [!NOTE]
4747
>

0 commit comments

Comments
 (0)