Skip to content

Conversation

@ivyas21
Copy link
Owner

@ivyas21 ivyas21 commented Oct 6, 2021

No description provided.

@github-learning-lab
Copy link

Almost there, but the workflow didn't run.

Here's some possible reasons why:

  • files aren't in proper directories
  • your script isn't executable

Troubleshooting steps

Check out the action's output in the Actions tab.

You can also use the following to help you troubleshoot:

For /action-a/entrypoint.sh
Problem Solution
entrypoint.sh isn't executable. In your shell, run chmod +x action-a/entrypoint.sh on this branch and push it up to GitHub.
The file isn't called entrypoint.sh (case sensitive). Rename the file using the UI or your CLI.
The directory action-a doesn't exist. Create the action-a folder and move entrypoint.sh to action-a.
The entrypoint.sh file isn't inside the action-a folder. Move entrypoint.sh to action-a.
For /action-a/Dockerfile
Problem Solution
The file isn't called Dockerfile (case sensitive). Rename the file using the UI or your CLI.
The directory action-a doesn't exist. Create the action-a folder and move the Dockerfile to action-a.
The Dockerfile isn't inside the action-a folder. Move the Dockerfile to action-a.
For .github/workflows/main.yml
Problem Solution
There's some problem with your syntax in main.yml. Copy and paste the code exactly as is shown in this PR (check for extra spaces, symbols) or see if an error appears in the action logs.
The file isn't called main.yml (case sensitive). Rename the file using the UI or your CLI.
The directory .github/workflows doesn't exist. Create the .github/workflows folders and move main.yml to .github/workflows.
The main.yml file isn't inside the .github/workflows folder. Move main.yml to .github/workflows.

Next time you commit, your action will try to run. I'll respond when that occurs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants