Fix sparse registries environment variable

This commit is contained in:
David Tolnay 2023-01-31 11:48:33 -08:00
parent ce8f65846d
commit 38c74e42a6
No known key found for this signature in database
GPG key ID: F9BA143B95FF6D82

View file

@ -93,7 +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 echo CARGO_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