Merge pull request #54 from alex/patch-1

Also enable sparse registries with the _new_ environment variable
This commit is contained in:
David Tolnay 2023-01-21 10:19:21 -08:00 committed by GitHub
commit b4b52b7a8a
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