mirror of
https://github.com/astral-sh/setup-uv.git
synced 2026-11-05 01:35:32 +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:
@@ -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 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"
|
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: |
|
cache-dependency-glob: |
|
||||||
**/*requirements*.txt
|
**/*requirements*.txt
|
||||||
**/*requirements*.in
|
**/*requirements*.in
|
||||||
|
|||||||
Reference in New Issue
Block a user