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:
@@ -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
|
||||
|
||||
@@ -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]
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user