diff --git a/ci/windows-docker/install_cargo_utils.ps1 b/ci/windows-docker/install_cargo_utils.ps1 index 976645061..5c45aeb8d 100644 --- a/ci/windows-docker/install_cargo_utils.ps1 +++ b/ci/windows-docker/install_cargo_utils.ps1 @@ -4,7 +4,7 @@ rustup --version rustc --version cargo --version -if ("$RUST_VERSION" -eq "1.71.1") { +if ("$env:RUST_VERSION" -eq "1.71.1") { cargo install --locked cargo-c --version 0.9.26+cargo-0.74 } else { cargo install --locked cargo-c --version 0.10.3+cargo-0.81