mirror of
https://github.com/actions/setup-python.git
synced 2026-03-19 23:50:24 +08:00
When pre-built Python binaries are not available for the current architecture (e.g., riscv64), try using system Python as a fallback instead of failing with an error. This enables setup-python to work on architectures that don't yet have pre-built binaries in actions/python-versions, such as riscv64 self-hosted runners. The fallback only activates when: 1. No cached version is found 2. No manifest entry exists for the architecture 3. System python3 exists and satisfies the requested version spec A warning is emitted so users know the fallback was used. Fixes #1288 Signed-off-by: Bruno Verachten <gounthar@gmail.com> |
||
|---|---|---|
| .. | ||
| cache-distributions | ||
| cache-save.ts | ||
| find-graalpy.ts | ||
| find-pypy.ts | ||
| find-python.ts | ||
| install-graalpy.ts | ||
| install-pypy.ts | ||
| install-python.ts | ||
| setup-python.ts | ||
| utils.ts | ||