Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## Description `build-mdbook` was failing on multiple PRs with ``` Run cargo install --locked --debug --path ./forc error: binary `forc` already exists in destination Add --force to overwrite ``` https://github.com/FuelLabs/sway/actions/runs/7819113568/attempts/1?pr=5569 https://github.com/FuelLabs/sway/actions/runs/7816891674/job/21336246772?pr=5565 `cargo install` keeps track of which binaries it has installed in ~/.cargo/crates.toml and ~/.cargo.crates2.json. By using the entire cached `cargo` directory, cargo is able to tell that it has previously installed the binaries and install correctly. ## Checklist - [ ] I have linked to any relevant issues. - [ ] I have commented my code, particularly in hard-to-understand areas. - [ ] I have updated the documentation where relevant (API docs, the reference, and the Sway book). - [ ] I have added tests that prove my fix is effective or that my feature works. - [ ] I have added (or requested a maintainer to add) the necessary `Breaking*` or `New Feature` labels where relevant. - [ ] I have done my best to ensure that my PR adheres to [the Fuel Labs Code Review Standards](https://github.com/FuelLabs/rfcs/blob/master/text/code-standards/external-contributors.md). - [ ] I have requested a review from the relevant team or maintainers.
- Loading branch information