5
0
mirror of https://github.com/astral-sh/setup-uv.git synced 2025-12-09 11:01:17 +00:00

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.
This commit is contained in:
Allan Lewis
2025-11-04 15:38:32 +00:00
committed by GitHub
parent 0d20755a23
commit 30ce38e206
2 changed files with 2 additions and 2 deletions

View File

@@ -31,7 +31,7 @@ inputs:
default: "auto"
cache-dependency-glob:
description:
"Glob pattern to match files relative to the repository root to control
"Glob pattern to match files relative to the working directory to control
the cache."
default: |
**/*requirements*.txt

View File

@@ -41,7 +41,7 @@ use it in subsequent steps. For example, to use the cache in the above case:
If you want to control when the GitHub Actions cache is invalidated, specify a glob pattern with the
`cache-dependency-glob` input. The GitHub Actions cache will be invalidated if any file matching the glob pattern
changes. If you use relative paths, they are relative to the repository root.
changes. If you use relative paths, they are relative to the working directory.
> [!NOTE]
>