Closed sundaram123krishnan closed 4 months ago
Do you have a link to the logs? This shouldn't happen, but it could be due to actions-rs and it not being maintained.
So, it perfectly builds when pushed to Github workflow.
I am using act
to build and test locally.
Maybe that is responsible for this?
aha, yes act is not working properly on 0.2.5, see https://github.com/cross-rs/cross/issues/1321
you'll need a version which includes #1485, install cross before actions-rs installs it with run: cargo install cross --git https://github.com/cross-rs/cross
also, as I said, don't use actions-rs, it's unmaintained
Thx for the mention
I am encountering an issue when using
cross
in my GitHub Actions workflow. The error message indicates thatcargo
is not found.This occurs during the build step in my CI pipeline. Below is the relevant portion of my GitHub Actions configuration:
The build fails with the error:
But when i try to list
cargo
packages:cross
is present.What is the cause of this strange behavior? Any help is much appreciated! Thx in advance!