Use the correct variable to enable sparse registry access

This commit is contained in:
Jonas Bushart 2023-01-31 13:10:41 +01:00 committed by GitHub
parent bc88fd0b3e
commit 2941fbfa4a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 1 deletions

View file

@ -67,7 +67,7 @@ runs:
echo "CARGO_UNSTABLE_SPARSE_REGISTRY=true" >> $GITHUB_ENV
# Enable sparse index after stabilization
# https://github.com/rust-lang/cargo/pull/11224
echo "REGISTRIES_CRATES_IO_PROTOCOL=sparse" >> $GITHUB_ENV
echo "CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse" >> $GITHUB_ENV
shell: bash
- name: "Install Rust Problem Matcher"
run: echo "::add-matcher::${{ github.action_path }}/rust.json"