Skip to content

How to cache when Cargo.toml is in sub-directory? #153

@AArnott

Description

@AArnott

My rust project is not in the top-level directory of my repo. In the post step, this action fail with this:

Error: Command failed: cargo metadata --all-features --format-version 1
Error: error: could not find Cargo.toml in D:\a\Nerdbank.Zcash.rs\Nerdbank.Zcash.rs or any parent directory

How can I get it to consider a subdirectory?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions