Can't find 'action.yml', 'action.yaml' or 'Dockerfile' under your-repository/.github/workflows/test.yaml'. Did you forget to run actions/checkout before running your local action?
This error simply means github actions try to retrieve and run your yaml from ./github/workflows/test.yaml folder but couldn't find it.
Make sure you place your workflow yaml into this folder.
What if you want to place it in subfolder in ,/github/workflows?
No you cannot do that - it is not supported.
But you can reuse a workflow in this manner main.yaml -> test.yaml -> child.yaml.
So main calles test which in turn call another reusable workflow.
Comments