Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

Add example/ability to change working directory for cargo commands #21

Open
jsdw opened this issue Aug 12, 2021 · 0 comments
Open

Add example/ability to change working directory for cargo commands #21

jsdw opened this issue Aug 12, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@jsdw
Copy link

jsdw commented Aug 12, 2021

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 jsdw added the enhancement New feature or request label Aug 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Development

No branches or pull requests

1 participant