We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67cf559 commit d790b9bCopy full SHA for d790b9b
.github/actions/fetch-nightly-cli/action.yaml
@@ -32,6 +32,14 @@ runs:
32
--json databaseId \
33
--jq '.[0].databaseId'
34
)
35
+
36
+ if [ -z "$run_id" ]; then
37
+ # Using the ::error:: prefix lets GitHub handle it as a special string, and shows up as a red error in the logs.
38
+ # https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-commands#setting-an-error-message
39
+ echo "::error::No successful workflow runs found for branch '$BRANCH'."
40
+ exit 1
41
+ fi
42
43
echo "run_id=$run_id" >> $GITHUB_OUTPUT
44
env:
45
GH_REPO: wasp-lang/wasp
0 commit comments