We started facing the error below when running the GitHub action (v7) in several repositories on our self hosted runners.
Any assistance is appreciated.
Here is the output of the run:
Run astral-sh/setup-uv@v7
with:
activate-environment: false
working-directory: /home/runner/actions-runner/_work/my-repo/my-repo
github-token: ***
enable-cache: auto
cache-dependency-glob: **/*requirements*.txt
**/*requirements*.in
**/*constraints*.txt
**/*constraints*.in
**/pyproject.toml
**/uv.lock
**/*.py.lock
restore-cache: true
save-cache: true
prune-cache: true
cache-python: false
ignore-nothing-to-cache: false
ignore-empty-workdir: false
add-problem-matchers: true
resolution-strategy: highest
env:
pythonLocation: /home/runner/actions-runner/_work/_tool/Python/3.12.10/x64
PKG_CONFIG_PATH: /home/runner/actions-runner/_work/_tool/Python/3.12.10/x64/lib/pkgconfig
Python_ROOT_DIR: /home/runner/actions-runner/_work/_tool/Python/3.12.10/x64
Python2_ROOT_DIR: /home/runner/actions-runner/_work/_tool/Python/3.12.10/x64
Python3_ROOT_DIR: /home/runner/actions-runner/_work/_tool/Python/3.12.10/x64
LD_LIBRARY_PATH: /home/runner/actions-runner/_work/_tool/Python/3.12.10/x64/lib
Trying to find version for uv in: /home/runner/actions-runner/_work/my-repo/my-repo/uv.toml
Could not find file: /home/runner/actions-runner/_work/my-repo/my-repo/uv.toml
Trying to find version for uv in: /home/runner/actions-runner/_work/my-repo/my-repo/pyproject.toml
Could not find file: /home/runner/actions-runner/_work/my-repo/my-repo/pyproject.toml
Could not determine uv version from uv.toml or pyproject.toml. Falling back to latest.
Fetching version data from https://raw.githubusercontent.com/astral-sh/versions/main/v1/uv.ndjson ...
Error: fetch failed
We started facing the error below when running the GitHub action (v7) in several repositories on our self hosted runners.
Any assistance is appreciated.
Here is the output of the run: