llama-stack-mirror/.github/actions/setup-runner
Ashwin Bharambe ffcb76597b fix(ci): export UV_INDEX_STRATEGY to current shell before running uv sync
The previous fix only exported UV_INDEX_STRATEGY to GITHUB_ENV, which
only affects subsequent GitHub Actions steps. However, uv sync runs in
the same step, so it never saw the UV_INDEX_STRATEGY variable.

This caused uv to fail when UV_EXTRA_INDEX_URL was set (on release
branches) because uv would find packages on test.pypi but refuse to
check PyPI for compatible versions, resulting in:

  setuptools was found on test.pypi but not at the requested version.
  A compatible version may be available on PyPI. Use --index-strategy
  unsafe-best-match to check all indexes.

The fix adds export UV_INDEX_STRATEGY=unsafe-best-match to make it
available in the current shell before running uv commands.
2025-11-01 07:45:27 -07:00
..
action.yml fix(ci): export UV_INDEX_STRATEGY to current shell before running uv sync 2025-11-01 07:45:27 -07:00