mirror of
https://github.com/astral-sh/setup-uv.git
synced 2025-04-05 23:25:19 -04:00
Use better examples for cache-dependency-glob
Adding the path separator `/` makes sure the files get found no matter where they are in the repo.
This commit is contained in:
parent
9be1dd9b54
commit
47f135552a
1 changed files with 3 additions and 3 deletions
|
@ -109,7 +109,7 @@ changes. The glob matches files relative to the repository root.
|
|||
uses: astral-sh/setup-uv@v2
|
||||
with:
|
||||
enable-cache: true
|
||||
cache-dependency-glob: "**requirements*.txt"
|
||||
cache-dependency-glob: "**/requirements*.txt"
|
||||
```
|
||||
|
||||
```yaml
|
||||
|
@ -118,8 +118,8 @@ changes. The glob matches files relative to the repository root.
|
|||
with:
|
||||
enable-cache: true
|
||||
cache-dependency-glob: |
|
||||
**requirements*.txt
|
||||
**pyproject.toml
|
||||
**/requirements*.txt
|
||||
**/pyproject.toml
|
||||
```
|
||||
|
||||
```yaml
|
||||
|
|
Loading…
Add table
Reference in a new issue