Adding a custom stage `stage4a` fails
Closed this issue · 2 comments
probonopd commented
Describe the bug
I would like to add a custom stage stage4a
after the default stage4
.
To Reproduce
stage-list: stage0 stage1 stage2 stage3 stage4 ./stage4a
or
stage-list: stage0 stage1 stage2 stage3 stage4 stage4a
Expected behavior
stage0 stage1 stage2 stage3 stage4
run from the default pi-gen, then my custom stage4a
runs from my repository
Logs
Run usimd/pi-gen-action@v1
Validating input and generating pi-gen config
Error: stage-list must contain valid pi-gen stage names "stage[0-5]" and/or valid directories
Additional context
Please document a simple example where a custom stage is run after the default stages.
usimd commented
From your linked workflow file, it seems you've missed to add a checkout step of your own repository. That's not being done implicitly by the action.
To verify things initially, it could help to add a step
- run: tree
That way you can inspect the local working directory on the action runner. If you're custom stage dir is missing there, it cannot be found by pi-gen-action
.