This repository has been archived by the owner on Oct 13, 2023. It is now read-only.
Job failing on trying to cargo install
already existing crate
#219
Labels
bug
Something isn't working
Do the checklist before filing an issue:
actions-rs
Actions?If you think it's a problem related to Github Actions in general, use GitHub Community forum instead: https://github.community
Description
On my GitHub Actions CI pipeline the
actin-rs/cargo@v1
errors using theinstall
command when, due to caching, the target crate is already installed.Workflow code
My Workflow file:
https://github.com/mr-pascal/changelog-generator/actions/runs/3451578950/workflow
See the
test_coverage
job workflow.Action output
Expected behavior
Instead of throwing an error and failing the job I would expect a plain "Ignored" notice, that the package already exists and the job just continues.
Additional context
I use caching in the workflow to speed it up significantly, as such also the previous installed
grcov
is kept in cache and available.Using
--force
and just re-installing the crate is no option, since this would introduce also a re-compilation of the crate.The text was updated successfully, but these errors were encountered: