mirror of
https://github.com/astral-sh/setup-uv.git
synced 2025-04-07 07:58:48 -04:00
Format
This commit is contained in:
parent
6244728ef0
commit
68a79ff4a1
1 changed files with 5 additions and 8 deletions
13
README.md
13
README.md
|
@ -168,14 +168,11 @@ It defaults to `setup-uv-cache` in the `TMP` dir, `D:\a\_temp\uv-tool-dir` on Wi
|
||||||
|
|
||||||
### Disable cache pruning
|
### Disable cache pruning
|
||||||
|
|
||||||
By default, the cache is pruned after a run, which means that all pre-built wheels are removed from
|
By default, the uv cache is pruned after every run, removing pre-built wheels, but retaining any
|
||||||
the cache
|
wheels that were built from source. On GitHub-hosted runners, it's typically faster to omit those
|
||||||
([documentation](https://docs.astral.sh/uv/concepts/cache/#caching-in-continuous-integration)). By
|
pre-built wheels from the cache (and instead re-download them from the registry on each run).
|
||||||
default, the uv cache is pruned after every run, removing pre-built wheels, but retaining any wheels
|
However, on self-hosted or local runners, preserving the cache may be more efficient. See
|
||||||
that were built from source. On GitHub-hosted runners, it's typically faster to omit those pre-built
|
the[documentation](https://docs.astral.sh/uv/concepts/cache/#caching-in-continuous-integration) for
|
||||||
wheels from the cache (and instead re-download them from the registry on each run). However, on
|
|
||||||
self-hosted or local runners, preserving the cache may be more efficient. See the
|
|
||||||
([documentation](https://docs.astral.sh/uv/concepts/cache/#caching-in-continuous-integration)) for
|
|
||||||
more.
|
more.
|
||||||
|
|
||||||
If you want to persist the entire cache across runs, disable cache pruning with the `prune-cache`
|
If you want to persist the entire cache across runs, disable cache pruning with the `prune-cache`
|
||||||
|
|
Loading…
Add table
Reference in a new issue