From 1feb7ff7466e97277b78339f779979fd8841bbc1 Mon Sep 17 00:00:00 2001 From: STerliakov Date: Sat, 22 Oct 2022 22:54:01 +0300 Subject: [PATCH 1/2] Fix `-ne` shell operator spelling --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cba0eac83ca82a..d201cface7a872 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -85,7 +85,7 @@ jobs: - name: Check for changes in the ABI run: | make check-abidump - if [ $? -neq 0 ] ; then + if [ $? -ne 0 ] ; then echo "Generated ABI file is not up to date." echo "Please, add the release manager of this branch as a reviewer of this PR." echo "" From 49623da8adb751e27cdd619fd21b5ea7493a1be9 Mon Sep 17 00:00:00 2001 From: STerliakov Date: Mon, 24 Oct 2022 13:08:44 +0300 Subject: [PATCH 2/2] Keep in mind `set -e` --- .github/workflows/build.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d201cface7a872..60a01bd2134029 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -84,8 +84,7 @@ jobs: make -j4 - name: Check for changes in the ABI run: | - make check-abidump - if [ $? -ne 0 ] ; then + if ! make check-abidump; then echo "Generated ABI file is not up to date." echo "Please, add the release manager of this branch as a reviewer of this PR." echo ""