mirror of
https://github.com/astral-sh/setup-uv.git
synced 2026-09-04 06:39:22 +00:00
Expose Python runtime identity for downstream caching
This commit is contained in:
@@ -138,8 +138,9 @@ Have a look under [Advanced Configuration](#advanced-configuration) for detailed
|
||||
- `cache-hit`: A boolean value to indicate a cache entry was found.
|
||||
- `venv`: Path to the activated venv if activate-environment is true.
|
||||
- `python-version`: The Python version that was set.
|
||||
- `python-version-resolved`: The full Python version of the activated venv, including prerelease suffixes.
|
||||
Empty when `activate-environment` is false or the version cannot be determined.
|
||||
- `python-runtime-id`: An opaque identifier for the activated venv's Python runtime, including
|
||||
implementation, full version, and free-threaded build information. Useful as a cache-key component.
|
||||
Empty when `activate-environment` is false or the runtime cannot be determined.
|
||||
- `python-cache-hit`: A boolean value to indicate the Python cache entry was found.
|
||||
|
||||
### Python version
|
||||
|
||||
Reference in New Issue
Block a user