Also enable sparse registries with the _new_ environment variable

Changed yesterday: https://github.com/rust-lang/cargo/pull/11224
This commit is contained in:
Alex Gaynor 2023-01-21 10:45:57 -05:00 committed by GitHub
parent 22cb70465d
commit 60cdf46ba8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -93,6 +93,7 @@ runs:
- run: | - run: |
: enable Cargo sparse registry : enable Cargo sparse registry
echo CARGO_UNSTABLE_SPARSE_REGISTRY=true >> $GITHUB_ENV echo CARGO_UNSTABLE_SPARSE_REGISTRY=true >> $GITHUB_ENV
echo REGISTRIES_CRATES_IO_PROTOCOL=sparse >> $GITHUB_ENV
shell: bash shell: bash
- run: rustc +${{steps.parse.outputs.toolchain}} --version --verbose - run: rustc +${{steps.parse.outputs.toolchain}} --version --verbose