mirror of
https://github.com/astral-sh/setup-uv.git
synced 2025-12-11 11:04:47 +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"
|
default: "auto"
|
||||||
cache-dependency-glob:
|
cache-dependency-glob:
|
||||||
description:
|
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."
|
the cache."
|
||||||
default: |
|
default: |
|
||||||
**/*requirements*.txt
|
**/*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
|
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
|
`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]
|
> [!NOTE]
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user