mirror of
https://github.com/actions-rust-lang/setup-rust-toolchain.git
synced 2024-12-26 00:52:17 +01:00
Use the correct variable to enable sparse registry access
This commit is contained in:
parent
bc88fd0b3e
commit
2941fbfa4a
2 changed files with 8 additions and 1 deletions
|
@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
|
||||
## [Unreleased]
|
||||
|
||||
## [1.3.6] - 2023-01-31
|
||||
|
||||
### Fixed
|
||||
|
||||
* The the correct environment variable to enable the sparse registry access.
|
||||
The pull request originally had the wrong value, without `CARGO_` prefix.
|
||||
|
||||
## [1.3.5] - 2023-01-21
|
||||
|
||||
### Changed
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue