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:
Kevin Stillhammer 2024-09-06 14:44:31 +02:00 committed by GitHub
parent 606b0d67da
commit d9a2b6b6fa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
18 changed files with 66 additions and 71358 deletions

View file

@ -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`