Closed
Description
Is it possible to use an existing cache entry, if a matching one exist, but not upload any at the end, if there is none?
My use case:
- a python project with multiple optional dependency groups
- a matrix workflow that executes tests with multiple combinations of these optional dependencies
so for each matrix test, only certain dependencies are included with uv sync --extra ....
I want to cache only the version with all dependencies.
But depending on which workflow finishes first, after the lock file changes, that workflow's subset of features will be uploaded
I could of course execute uv sync --all-extras
after the tests, but that seems wasteful.
Is there a way to disable uploading the new cache for specific cases?
Metadata
Metadata
Assignees
Labels
No labels