Expose Python runtime identity for downstream caching

This commit is contained in:
William Woodruff
2026-09-03 15:18:29 -04:00
parent 3956519c9e
commit 70e5842acc
11 changed files with 400 additions and 204 deletions
+3 -2
View File
@@ -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