mirror of
https://github.com/astral-sh/setup-uv.git
synced 2026-10-25 00:37:44 +00:00
docs: cache-dependency-glob matches relative to the working directory (#1092)
Hello! In #498 the behaviour of the `cache-dependency-glob` flag changed from being relative to repository root to being relative to `working-directory`. This is not yet documented in README.md. [docs/caching.md](https://github.com/astral-sh/setup-uv/blob/f64d32b1cd6cc11405a74665b3dfb7bb86fea9f0/docs/caching.md#cache-dependency-glob) already documents this behaviour correctly.
This commit is contained in:
1 parent
f8c88970fc
commit
b627d85691
1 file changed
+1
-1
@@ -81,7 +81,7 @@ Have a look under [Advanced Configuration](#advanced-configuration) for detailed
|
||||
# Enable the GitHub Actions cache for uv: true, false, or auto (enabled on GitHub-hosted runners except for release, tag push, pull_request_target, and workflow_run events; disabled on self-hosted runners)
|
||||
enable-cache: "auto"
|
||||
|
||||
# Glob pattern to match files relative to the repository root to control the cache
|
||||
# Glob pattern to match files relative to the working directory to control the cache
|
||||
cache-dependency-glob: |
|
||||
**/*requirements*.txt
|
||||
**/*requirements*.in
|
||||
|
||||
Reference in new issue
Block a user