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

Support working-directory #28

Open
1 of 3 tasks
asomers-ax opened this issue Jun 4, 2020 · 0 comments
Open
1 of 3 tasks

Support working-directory #28

asomers-ax opened this issue Jun 4, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@asomers-ax
Copy link

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
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