Closed makspll closed 7 months ago
I am not sure why it's looking for the crate at "project/crates/bevy_script_api" the correct location is "crates/bevy_script_api
"
Looking at the logs, ultimately this ends up running this command:
/home/runner/work/_temp/cross +stable test --workspace --features=lua54,rhai,teal,lua_script_api,rhai_script_api,rune --profile=ephemeral-build --target aarch64-unknown-linux-gnu
There's nothing in there about the crate path or anything like that. Could you try installing cross
and running it locally to see if that leads to the same error? If it does, then it's either an issue with your project config or with cross
itself.
Also, as an aside, you don't really need to choose between cargo
and cross
yourself. The actions-rust-cross
action will do that for you, so you can run it unconditionally.
I get the same issue locally indeed, I don't see anything that would cause differences between targets :/
Also, as an aside, you don't really need to choose between cargo and cross yourself. The actions-rust-cross action will do that for you, so you can run it unconditionally.
I did realise this as I was reading the docs in investigating this!
Closed as not an issue with this action
Action log can be seen here: https://github.com/makspll/bevy_mod_scripting/actions/runs/8552685284/job/23434311319?pr=67
the relevant error is:
And the workflow looks like this: