12
0
Fork 0
mirror of https://github.com/astral-sh/setup-uv.git synced 2026-07-03 19:09:30 +00:00

feat: add download-from-astral-mirror input (#897)

## Summary

Add a new boolean input `download-from-astral-mirror` (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 and the
download goes straight to GitHub Releases.

Closes: #870
This commit is contained in:
Kevin Stillhammer 2026-05-31 11:47:01 +02:00 committed by GitHub
parent 80cc27528e
commit b9c8c4c7ba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 66 additions and 4 deletions

View file

@ -154,6 +154,7 @@ async function setupUv(
inputs.checksum,
inputs.githubToken,
inputs.manifestFile,
inputs.downloadFromAstralMirror,
);
return {