diff --git a/.github/actions/rust-tool-cache/action.yml b/.github/actions/rust-tool-cache/action.yml index 338d144..acd73e4 100644 --- a/.github/actions/rust-tool-cache/action.yml +++ b/.github/actions/rust-tool-cache/action.yml @@ -92,7 +92,7 @@ runs: echo "" # Attempt to binstall the tool first. If it fails, install it using cargo - cargo binstall -y $TOOL_NAME --version $TOOL_VERSION || cargo install $TOOL_NAME --version $TOOL_VERSION + cargo binstall -y $TOOL_NAME --version $TOOL_VERSION || cargo install $TOOL_NAME --version $TOOL_VERSION --locked done if: steps.tool-cache.outputs.cache-hit != 'true'