Run failing - Invalid workflow file #26095
-
This is my first foray into action and I’ve been staring at this for hours now and can’t figure out why this workflow is failing. I’ve double and triple-checked with other online examples and it seems like I’m compliant. Can anyone that has experience with actions help me figure out what I’m missing please? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 7 replies
-
There are indentation problems in your workflow. In YAML indentation determines structure, like in Python. Your
|
Beta Was this translation helpful? Give feedback.
-
@airtower-luna That indeed did the trick. Prettier formatting the file also was not helping. Thank you so much. |
Beta Was this translation helpful? Give feedback.
-
help guys pls |
Beta Was this translation helpful? Give feedback.
There are indentation problems in your workflow. In YAML indentation determines structure, like in Python. Your
name
,uses
, andwith
settings need to be part of the same object (the step), so they must be on the same indentation level. Same forname
andrun
in the steps below, like so: