12
0
Fork 0
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:
Kevin Stillhammer 2026-05-31 11:40:47 +02:00
parent ddb93f091f
commit 4fa8fca033
No known key found for this signature in database
10 changed files with 66 additions and 4 deletions

2
dist/save-cache/index.cjs generated vendored
View file

@ -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,