example
example copied to clipboard
Add example/ability to change working directory for cargo commands
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!