"every step must define a uses
or run
key" I am getting above mentioned error. suggest possible solution
#26608
-
Beta Was this translation helpful? Give feedback.
Replies: 6 comments
-
The second step in your list has only a |
Beta Was this translation helpful? Give feedback.
-
will you explain more specifically. I am unable to get your point. I have a little knowledge of coding. |
Beta Was this translation helpful? Give feedback.
-
The
Each step (list item) must have a The second step in your workflow (line 26 in the screenshot) has only a name. In line 27 there’s a third step (new item because it’s starting with a dash) without a name. Its |
Beta Was this translation helpful? Give feedback.
-
Line 26/27 of your screen shot both have hyphens so the Edit: also 24 uses the checkout action without being in a named step, I don’t know if that’s a problem though. You’d have to check the docs to see if you can declare a uses element like that. (I don’t know off the top of my head) |
Beta Was this translation helpful? Give feedback.
-
Step names are optional. The log will display "Run " if you only specify |
Beta Was this translation helpful? Give feedback.
-
I appreciate your effort for me. I have learned my mistake. May God give you reward |
Beta Was this translation helpful? Give feedback.
Step names are optional. The log will display "Run " if you only specify
uses
and “Run <1st line of commands>” (possibly truncated) if you only providerun
.