Menu

GitHub Actions Process completed with exit code 1, and what stopped
📰

GitHub Actions Process completed with exit code 1, and what stopped

DEV Community: cicd·Kay·about 19 hours ago
#RwUgE6rt
#devtocicd#devto#dev#command#grep
Reading 0:00
15s threshold

GitHub Actions Process completed with exit code 1 is the runner reporting the exit status of the script it just ran, with no opinion about which line produced it. Because every run step is invoked with errexit on, that status is usually the status of the first command that returned non-zero, and the number is a better clue than the sentence is.

Errexit ignores a failure used as a test. The same command aborts the step on its own line and is harmless inside an if, a while, a negation or the left of a logical operator.

What this error means

A run step ends red immediately after a command you did not consider a failure. Common examples are a grep that matched nothing, a test expression that was false, a diff that found a difference, or a linter that found one warning. The log shows the command, shows its ordinary output or no output at all, and then the runner's one-line report.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.