#78: Implement Action create with FS to allow embed actions.#80
#78: Implement Action create with FS to allow embed actions.#80davidferlay merged 4 commits intomainfrom
Conversation
|
Tested with real use case of migrating local However it fails while buiding binary: |
|
After moving action related files to |
|
Tested OK on some repo: But KO on another one: You can reproduce by building binary with: then testing it on |
|
Note to self:
|
|
Regarding such warnings: This action is part of current repo so not surprising to see it in both dirs after composition, somewhow that shouldn't be an issue |
The issue occurs when searching for actions on non-existent paths in the compose directory. Added extra validation. Strange that we discovered it only now.
I added extra validation for cases when we try to add existing actions. But I suppose it’s expected behavior that .compose overrides them. |
|
Tested ok! 👌 Working fine in same case where it used to panic Gonna spend some time to do some additional testing |
Compose plugin expects .compose to exist and asks to search it, but the path may not exist. So I added an extra condition to not discover paths that don't exist. Nothing special, I'm surprised the issue never appeared before because it's obvious. |
|
Further testing:
|
|
It's not expected behavior.
It shows the root directory where the action was found. The action is embedded, then it's empty
It shows the dir of action yaml file. Same here, it's embedded. |
|
All clear 👌 |
No description provided.