mirror of
https://github.com/astral-sh/setup-uv.git
synced 2026-07-01 10:09:30 +00:00
feat: add download-from-astral-mirror input
Add a new boolean input (default: true) that controls whether uv is downloaded from the Astral mirror or directly from GitHub Releases. When set to false, the mirror rewrite is skipped entirely.
This commit is contained in:
parent
ddb93f091f
commit
4fa8fca033
10 changed files with 66 additions and 4 deletions
2
dist/save-cache/index.cjs
generated
vendored
2
dist/save-cache/index.cjs
generated
vendored
|
|
@ -62990,6 +62990,7 @@ function loadInputs() {
|
|||
const pythonDir = getUvPythonDir();
|
||||
const githubToken = getInput("github-token");
|
||||
const manifestFile = getManifestFile();
|
||||
const downloadFromAstralMirror = getInput("download-from-astral-mirror") === "true";
|
||||
const addProblemMatchers = getInput("add-problem-matchers") === "true";
|
||||
const resolutionStrategy = getResolutionStrategy();
|
||||
return {
|
||||
|
|
@ -63000,6 +63001,7 @@ function loadInputs() {
|
|||
cachePython,
|
||||
cacheSuffix,
|
||||
checksum,
|
||||
downloadFromAstralMirror,
|
||||
enableCache,
|
||||
githubToken,
|
||||
ignoreEmptyWorkdir,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue