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

Popular posts from this blog

gemini cli getting file not defined error

NodeJS: Error: spawn EINVAL in window for node version 20.20 and 18.20

vllm : Failed to infer device type