Fail setup when activated Python runtime detection fails

This commit is contained in:
William Woodruff
2026-09-03 15:48:24 -04:00
parent 18b7c1ee5f
commit 358b824344
6 changed files with 34 additions and 30 deletions
+3 -3
View File
@@ -30,9 +30,9 @@ key: build-${{ runner.os }}-${{ runner.arch }}-${{ steps.setup-uv.outputs.python
```
The free-threaded marker describes the interpreter's build even when the GIL is
enabled at runtime. The output is empty when `activate-environment` is false or the
runtime cannot be determined. The existing `python-version` output and setup-uv's
cache keys are unaffected.
enabled at runtime. The output is empty when `activate-environment` is false. If
the activated runtime cannot be determined, the action fails. The existing
`python-version` output and setup-uv's cache keys are unaffected.
You can customize the venv location with `venv-path`, for example to place it in the runner temp directory: