ci: Don't print curl command output in server-build
This commit is contained in:
parent
b5e9ce8718
commit
8677240da6
6
.github/workflows/server-build.yml
vendored
6
.github/workflows/server-build.yml
vendored
|
|
@ -190,9 +190,11 @@ jobs:
|
||||||
)"
|
)"
|
||||||
echo "$content" >> "$GITHUB_STEP_SUMMARY"
|
echo "$content" >> "$GITHUB_STEP_SUMMARY"
|
||||||
# Add a comment to the PR with the list of failed tests.
|
# Add a comment to the PR with the list of failed tests.
|
||||||
curl --header "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
|
curl --silent --show-error \
|
||||||
|
--header "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
|
||||||
--data "$(jq -n --arg body "$content" '$ARGS.named')" \
|
--data "$(jq -n --arg body "$content" '$ARGS.named')" \
|
||||||
"https://api.github.com/repos/$GITHUB_REPOSITORY/issues/${{ inputs.pr }}/comments"
|
"https://api.github.com/repos/$GITHUB_REPOSITORY/issues/${{ inputs.pr }}/comments" \
|
||||||
|
> /dev/null
|
||||||
fi
|
fi
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user