mirror of https://github.com/astral-sh/uv
Update to `cargo-dist` v0.23.0 (#8270)
## Summary Closes https://github.com/astral-sh/uv/issues/8242.
This commit is contained in:
parent
b851ced09e
commit
cf7dbaa7a7
|
|
@ -66,7 +66,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.22.1/cargo-dist-installer.sh | sh"
|
||||
run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.23.0/cargo-dist-installer.sh | sh"
|
||||
- name: Cache cargo-dist
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
|
|
|
|||
|
|
@ -280,7 +280,7 @@ inherits = "release"
|
|||
# Config for 'cargo dist'
|
||||
[workspace.metadata.dist]
|
||||
# The preferred cargo-dist version to use in CI (Cargo.toml SemVer syntax)
|
||||
cargo-dist-version = "0.22.1"
|
||||
cargo-dist-version = "0.23.0"
|
||||
# CI backends to support
|
||||
ci = "github"
|
||||
# The installers to generate for each app
|
||||
|
|
|
|||
|
|
@ -83,6 +83,15 @@ options can be passed directly to the install script. For example, to see the av
|
|||
$ curl -LsSf https://astral.sh/uv/install.sh | sh -s -- --help
|
||||
```
|
||||
|
||||
In ephemeral environments like CI, use `UV_UNMANAGED_INSTALL` to install uv to a specific path while
|
||||
preventing the installer from modifying shell profiles or environment variables:
|
||||
|
||||
```console
|
||||
$ curl -LsSf https://astral.sh/uv/install.sh | env UV_UNMANAGED_INSTALL="/custom/path" sh
|
||||
```
|
||||
|
||||
The use of `UV_UNMANAGED_INSTALL` will also disable self-updates (via `uv self update`).
|
||||
|
||||
### PyPI
|
||||
|
||||
For convenience, uv is published to [PyPI](https://pypi.org/project/uv/).
|
||||
|
|
|
|||
Loading…
Reference in New Issue