Open
Conversation
|
Almost there, but the workflow didn't run. Here's some possible reasons why:
Troubleshooting stepsCheck out the action's output in the Actions tab. You can also use the following to help you troubleshoot: For
|
| 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.