mirror of
https://github.com/astral-sh/setup-uv.git
synced 2026-04-03 01:47:33 +00:00
Update ignore-nothing-to-cache documentation (#833)
Add the error message so it can be found when searching for it Helps issues like #831
This commit is contained in:
committed by
GitHub
parent
16592cddee
commit
d7fe1a5a18
@@ -213,7 +213,12 @@ To force managed Python installs, set `UV_PYTHON_PREFERENCE=only-managed`.
|
|||||||
|
|
||||||
## Ignore nothing to cache
|
## Ignore nothing to cache
|
||||||
|
|
||||||
By default, the action will fail if caching is enabled but there is nothing to upload (the uv cache directory does not exist).
|
By default, the action will fail if caching is enabled but there is nothing to upload (the uv cache directory does not exist) with an error like
|
||||||
|
|
||||||
|
```console
|
||||||
|
Error: Cache path /home/runner/.cache/uv does not exist on disk. This likely indicates that there are no dependencies to cache. Consider disabling the cache input if it is not needed.
|
||||||
|
```
|
||||||
|
|
||||||
If you want to ignore this, set the `ignore-nothing-to-cache` input to `true`.
|
If you want to ignore this, set the `ignore-nothing-to-cache` input to `true`.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
|||||||
Reference in New Issue
Block a user