Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
spacey-sooty opened this issue Dec 20, 2023 · 1 comment
Closed

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

spacey-sooty opened this issue Dec 20, 2023 · 1 comment

Comments

@spacey-sooty
Copy link

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
Copy link
Member

messense commented Dec 20, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants