This is an automated email from the ASF dual-hosted git repository.
aaronai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/rocketmq-clients.git
The following commit(s) were added to refs/heads/master by this push:
new ef1aea99 Aggregate the build results of the Python client in build.yml
(#536)
ef1aea99 is described below
commit ef1aea992a1c380dfc5e381658b707471dc9dcbe
Author: Aaron Ai <[email protected]>
AuthorDate: Wed Jun 7 15:08:56 2023 +0800
Aggregate the build results of the Python client in build.yml (#536)
---
.github/workflows/build.yml | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 41031495..99b8910b 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -68,13 +68,19 @@ jobs:
uses: ./.github/workflows/python_build.yml
build-result:
runs-on: ubuntu-latest
- needs: [java-build, cpp-build, csharp-build, golang-build, php-build,
rust-build]
+ needs: [java-build, cpp-build, csharp-build, golang-build, php-build,
rust-build, python-build]
if: ${{ always() }}
steps:
- uses: actions/checkout@v2
- name: Collect build result
run: |
- if echo java-${{ needs.java-build.result }},cpp-${{
needs.cpp-build.result }},csharp-${{ needs.csharp-build.result }},golang-${{
needs.golang-build.result }},php-${{ needs.php-build.result }},rust-${{
needs.rust-build.result }} | grep -E 'cancelled|failure' -o > null
+ if echo java-${{ needs.java-build.result }},\
+ cpp-${{ needs.cpp-build.result }},\
+ csharp-${{ needs.csharp-build.result }},\
+ golang-${{ needs.golang-build.result }},\
+ php-${{ needs.php-build.result }},\
+ rust-${{ needs.rust-build.result }},\
+ python-${{ needs.python-build.result }} | grep -E
'cancelled|failure' -o > null
then
echo "There are failed/cancelled builds"
exit 1