mirror of
https://github.com/astral-sh/setup-uv.git
synced 2025-05-17 14:44:46 +00:00
Support a list of cache-dependency-glob (#41)
Closes: #40 Because of build conflics (forgot to run `npm i` after pulling) I deleted the `dist`folder to start fresh. Turns out that it still contained the source maps from the very first commit. I removed the argument to generate those a long time ago
This commit is contained in:
parent
606b0d67da
commit
d9a2b6b6fa
18 changed files with 66 additions and 71358 deletions
10
README.md
10
README.md
|
@ -125,6 +125,16 @@ changes. The glob matches files relative to the repository root.
|
|||
cache-dependency-glob: "**requirements*.txt"
|
||||
```
|
||||
|
||||
```yaml
|
||||
- name: Define a list of cache dependency globs
|
||||
uses: astral-sh/setup-uv@v1
|
||||
with:
|
||||
enable-cache: true
|
||||
cache-dependency-glob: |
|
||||
'**requirements*.txt'
|
||||
'**pyproject.toml'
|
||||
```
|
||||
|
||||
### API rate limit
|
||||
|
||||
To avoid hitting the `API rate limit exceeded` error, supply a GitHub token via the `github-token`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue