Getting "Can't find 'action.yml'" even though the action exists #25205
-
Getting “Can’t find ‘action.yml’, ‘action.yaml’ or ‘Dockerfile’ under ‘/tmp/github-runner/_actions/ad-m/github-push-action/master’. Did you forget to run actions/checkout before running your local action?” even though the action exists.
You can find the workflow here:https://github.com/terradatum/github-runner/actions/runs/52817206 - the last run included ACTIONS_STEP_DEBUG. Here’s the state of the path right now:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @rbellamy , The default branch for action ‘ad-m/github-push-action’ is ‘master’, please specify ‘develop’ branch for the action since it’s not by default.
In addition, from your attached log, it invokes actions from ‘/tmp/github-runner/_actions/ad-m/github-push-action/master’ which exists in docker container, while not on the github runner workspace. You need to exit the docker and then start your change push. |
Beta Was this translation helpful? Give feedback.
Hi @rbellamy ,
The default branch for action ‘ad-m/github-push-action’ is ‘master’, please specify ‘develop’ branch for the action since it’s not by default.
In addition, from your attached log, it invokes actions from ‘/tmp/github-runner/_actions/ad-m/github-push-action/master’ which exists in docker container, while not on the github runner workspace.
You need to exit the docker and then start your change push.