mirror of
https://github.com/astral-sh/setup-uv.git
synced 2026-12-04 02:16:06 +00:00
Respect the mirror setting when selecting the version manifest (#1164)
Select the manifest source from the action inputs and keep version resolution separate from archive downloads. Fetch the built-in manifest directly from GitHub when the Astral mirror is disabled. Fixes: #1140 Based on the work of @Rudra-G-23 in https://github.com/astral-sh/setup-uv/pull/1152 Co-authored-by: Amp <amp@ampcode.com>
This commit is contained in:
1 parent
521745f16c
commit
36300bab3f
19 files changed
+1637
-1647
No files matched your search
@@ -45,10 +45,11 @@ against the same digest. The first run may download uv again.
|
||||
By default, setup-uv reads version metadata from
|
||||
the [Astral mirror](https://releases.astral.sh/github/versions/main/v1/uv.ndjson).
|
||||
If the mirror request fails, it falls back to [`astral-sh/versions`](https://github.com/astral-sh/versions).
|
||||
Set `download-from-astral-mirror: false` to fetch the default manifest and uv release archives directly from GitHub.
|
||||
|
||||
The `manifest-file` input lets you override that source with your own URL, for example to test
|
||||
custom uv builds or alternate download locations. Custom manifest URLs do not fall back to the
|
||||
default sources.
|
||||
default sources. The mirror setting does not change the custom manifest URL.
|
||||
|
||||
### Format
|
||||
|
||||
|
||||
Reference in new issue
Block a user