PyO3 / maturin-action

GitHub Action to install and run a custom maturin command with built-in support for cross compilation
MIT License
127 stars 35 forks source link

How to build for a crate not at the project root. #236

Closed spacey-sooty closed 9 months ago

spacey-sooty commented 9 months ago

I am trying to use this to create CI for a crate not at the root of the github repository. This is causing the build to fail as there is no Cargo.toml at the root of the project. I have tried passing a working directory into the github job but this doesn't affect this action causing the build to still fail. Is there any way for me to do this?

messense commented 9 months ago

See #23, you need to pass working-directory to this action because the global working-directory only works for run.