Skip to content

fix(pixi-cmake-build): allow positional task args via word-splitting#2

Open
olantwin wants to merge 1 commit into
mainfrom
feat/pixi-task-args
Open

fix(pixi-cmake-build): allow positional task args via word-splitting#2
olantwin wants to merge 1 commit into
mainfrom
feat/pixi-task-args

Conversation

@olantwin
Copy link
Copy Markdown
Contributor

@olantwin olantwin commented Jun 5, 2026

Summary

Each `tasks` JSON element is now shell-word-split before being passed
to `pixi run --locked`, so positional pixi args work:

```yaml
tasks: '["configure", "build", "test", "ci-sim helium"]'
```

Previously the workflow quoted `"$task"`, which treated
`ci-sim helium` as one literal task name and failed.

Needed for the upcoming FairShip caller workflow, where the
`ci-sim` task takes a positional argument for the vessel variant.

Test plan

  • actionlint passes.
  • First FairShip caller workflow that uses `ci-sim helium`
    succeeds.

Each tasks JSON element is now shell-split before being passed to
`pixi run --locked`, so positional pixi args work directly:

  tasks: '["configure", "build", "test", "ci-sim helium"]'

The previous form (quoted) treated `ci-sim helium` as one literal task
name and failed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant