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

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

@jsdw

Description

@jsdw

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions