From 60cdf46ba808f78d2774077c4c5e3ac1284b0f99 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Sat, 21 Jan 2023 10:45:57 -0500 Subject: [PATCH] Also enable sparse registries with the _new_ environment variable Changed yesterday: https://github.com/rust-lang/cargo/pull/11224 --- action.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/action.yml b/action.yml index 5a671c2..91c9bbf 100644 --- a/action.yml +++ b/action.yml @@ -93,6 +93,7 @@ runs: - run: | : enable Cargo sparse registry echo CARGO_UNSTABLE_SPARSE_REGISTRY=true >> $GITHUB_ENV + echo REGISTRIES_CRATES_IO_PROTOCOL=sparse >> $GITHUB_ENV shell: bash - run: rustc +${{steps.parse.outputs.toolchain}} --version --verbose