setup-pixi
setup-pixi copied to clipboard
Add argument to set working-directory
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.
Setting manifest-path: xxxx/pixi.toml seems to work.
I think this would be great, because this way we could keep automatic manifest selection. I want to have support in one action for different projects and some of them are using pyproject.toml some of them are using pixi.toml. I wouldn't want to hardcode this into my action 🙂