Skip to content

Commit 1557849

Browse files
authored
installers: Download releases from Astral's mirror first (#2980)
1 parent c1ad9f2 commit 1557849

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

dist-workspace.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,9 @@ install-updater = false
6565
install-path = ["$XDG_BIN_HOME/", "$XDG_DATA_HOME/../bin", "~/.local/bin"]
6666
# Whether source tarballs should include submodules
6767
recursive-tarball = true
68+
# Prefer simple hosting for downloads, falling back to GitHub releases
69+
hosting = ["simple", "github"]
70+
simple-download-url = "https://releases.astral.sh/github/ty/releases/download/{tag}"
6871

6972
[dist.github-custom-runners]
7073
global = "depot-ubuntu-latest-4"

0 commit comments

Comments
 (0)