example icon indicating copy to clipboard operation
example copied to clipboard

Add example/ability to change working directory for cargo commands

Open jsdw opened this issue 3 years ago • 0 comments

I'm not suepr familiar with GitHub actions, so apologies if this is an obvious and known thing.

I can set the default CWD for run commands with:

defaults:
  run:
    working-directory: backend

But I can't, offhand, see a way to set the working directory for the cargo commands that this runs.

Am I expected to add --manifest-path foo/bar/Cargo.toml to each command, or is there a more concise to set the CWD?

Thankyou!

jsdw avatar Aug 12 '21 13:08 jsdw