Document default UV_CACHE_DIR

This commit is contained in:
Kevin Stillhammer 2024-09-20 09:50:10 +02:00
parent 7ee2c111fb
commit 382bdb3e33
No known key found for this signature in database

View file

@ -154,8 +154,10 @@ changes. The glob matches files relative to the repository root.
### Local cache path ### Local cache path
This action controls where uv stores its cache on the runner's filesystem. You can change the This action controls where uv stores its cache on the runner's filesystem by setting `UV_CACHE_DIR`.
default (`/tmp/setup-uv-cache`) by specifying the path with the `cache-local-path` input. It defaults to `setup-uv-cache` in the `TMP` dir, `D:\a\_temp\uv-tool-dir` on Windows and
`/tmp/setup-uv-cache` on Linux/macOS. You can change the default by specifying the path with the
`cache-local-path` input.
```yaml ```yaml
- name: Define a custom uv cache path - name: Define a custom uv cache path