GitHub Actions: Workflow didn't run hello-github-actions

Hello!

I was doing the hello-github-action course, and I was almost done with it until the last step where my workflow is not running. I seem to have followed every step properly, I’m not able to figure out where the issue is from. I’m new to github actions and workflow, any help would be appreciated. Thanks! :slight_smile:

I’ve attached the action logs below

Hi, could you share a link to the workflow run? It’s hard to say what might be going on from just the screenshot.

This appears to be the failed run:

And this appears to have fixed it:

Thanks for the reply, I solved the issue. It seemed to have been from CRLF in windows, I made commits from Windows GitHub GUI and Linux CLI, probably that was the reason.

1 Like

Yes, it was a failed run. But not really sure why it happened, I copy-pasted the same contents of the action.yml file and it was fixed. Could you possibly help me understand why it happened so that I won’t do the same mistake again? I made commits from Windows GitHub GUI and Linux CLI, probably that was the reason. Thanks :slight_smile:

In yaml, indentation matters a lot.

These are very different:

one:
  item: 5

two:
  thing: more
one:
  item: 5

  two:
    thing: more

Roughly, they define:

one.item: 5
two.thing: more

Vs

one.item: 5
one.two.thing: more
2 Likes

Thanks a lot! Didn’t know this, will go through them.