diff --git a/.github/workflows/check-release.yml b/.github/workflows/check-release.yml index 70a8ca82a32e0..e061169fb372b 100644 --- a/.github/workflows/check-release.yml +++ b/.github/workflows/check-release.yml @@ -15,7 +15,7 @@ jobs: - name: Install dist shell: bash - run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.30.4/cargo-dist-installer.sh | sh" + run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.31.0/cargo-dist-installer.sh | sh" - name: Run dist plan run: | diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 836990fecaa26..334840df1af56 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -67,7 +67,7 @@ jobs: # we specify bash to get pipefail; it guards against the `curl` command # failing. otherwise `sh` won't catch that `curl` returned non-0 shell: bash - run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.30.4/cargo-dist-installer.sh | sh" + run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.31.0/cargo-dist-installer.sh | sh" - name: Cache dist uses: actions/upload-artifact@6027e3dd177782cd8ab9af838c04fd81a07f1d47 with: diff --git a/dist-workspace.toml b/dist-workspace.toml index 257efd455eb62..c1e33f947a92f 100644 --- a/dist-workspace.toml +++ b/dist-workspace.toml @@ -6,7 +6,7 @@ members = ["cargo:."] # See: #16989 allow-dirty = ["ci"] # The preferred dist version to use in CI (Cargo.toml SemVer syntax) -cargo-dist-version = "0.30.4" +cargo-dist-version = "0.31.0" # Whether to consider the binaries in a package for distribution (defaults true) dist = false # CI backends to support @@ -68,6 +68,9 @@ github-custom-job-permissions = { "build-docker" = { packages = "write", content install-updater = false # Path that installers should place binaries in install-path = ["$XDG_BIN_HOME/", "$XDG_DATA_HOME/../bin", "~/.local/bin"] +# Prefer simple hosting for downloads, falling back to GitHub releases +hosting = ["simple", "github"] +simple-download-url = "https://releases.astral.sh/github/uv/releases/download/{tag}" [dist.github-custom-runners] global = "depot-ubuntu-latest-4"