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
@@ -20,6 +20,11 @@ export function createSetupInputs(
|
||||
githubToken: "",
|
||||
ignoreEmptyWorkdir: false,
|
||||
ignoreNothingToCache: false,
|
||||
manifestSource: {
|
||||
custom: false,
|
||||
newestFirst: true,
|
||||
url: "https://example.com/uv.ndjson",
|
||||
},
|
||||
noProject: false,
|
||||
pruneCache: false,
|
||||
pythonArch: "",
|
||||
|
||||
Reference in new issue
Block a user