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.

Support working-directory #28

@asomers-ax

Description

@asomers-ax

Do the checklist before filing an issue:

Motivation

Other github actions support a working-directory attribute that changes the directory before running any command. actions-rs should do that too. For example, trying to do cargo build --feature=XXX in a workspace won't work; the --feature= switch doesn't work in workspaces. Instead, you must cd into an individual crate to build it with specified features.

Workflow example

    - name: test-with-XXX
      uses: actions-rs/cargo@v1
      working-directory: my_subcrate
      with:
        command: test
        args: --features=XXX

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions