Skip to content

Add argument to set working-directory #170

@mickvangelderen

Description

@mickvangelderen

I think I would like to be able to set the working-directory. I know that I can specify the manifest path, but setting the working-directory retains the automatic manifest path selection behavior and is more similar to how we invoke things locally.

What I really want is to be able to set:

defaults:
  run:
    working-directory: some-subdir

in my github actions for a monorepo with a self contained pixi project in some-subdir and have "everything just work". I'm not sure a github action can see this value as it seems to only apply to run steps.

I am not sure how this would interact with automatic environment activation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions