This is an automated email from the ASF dual-hosted git repository.

yjhjstz pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudberry.git


The following commit(s) were added to refs/heads/main by this push:
     new 90f9dc3248b CI: fix 'Check and Display Regression Diffs' step to use 
bash shell (#1673)
90f9dc3248b is described below

commit 90f9dc3248b3dc2853e3ae5f8744fd5735715394
Author: Jianghua.yjh <[email protected]>
AuthorDate: Fri Apr 10 06:23:35 2026 -0700

    CI: fix 'Check and Display Regression Diffs' step to use bash shell (#1673)
    
    * CI: fix 'Check and Display Regression Diffs' step to use bash shell
    
    The step used bash-specific [[ ]] syntax but lacked shell: bash {0},
    causing failures when the runner defaulted to sh.
---
 .github/workflows/build-cloudberry-rocky8.yml | 1 +
 .github/workflows/build-cloudberry.yml        | 1 +
 .github/workflows/build-deb-cloudberry.yml    | 1 +
 3 files changed, 3 insertions(+)

diff --git a/.github/workflows/build-cloudberry-rocky8.yml 
b/.github/workflows/build-cloudberry-rocky8.yml
index dd4d10ab115..4986eae11b2 100644
--- a/.github/workflows/build-cloudberry-rocky8.yml
+++ b/.github/workflows/build-cloudberry-rocky8.yml
@@ -1676,6 +1676,7 @@ jobs:
 
       - name: Check and Display Regression Diffs
         if: always()
+        shell: bash {0}
         run: |
           # Search for regression.diffs recursively
           found_file=$(find . -type f -name "regression.diffs" | head -n 1)
diff --git a/.github/workflows/build-cloudberry.yml 
b/.github/workflows/build-cloudberry.yml
index cc99a997c3f..b0191a2d0e9 100644
--- a/.github/workflows/build-cloudberry.yml
+++ b/.github/workflows/build-cloudberry.yml
@@ -1679,6 +1679,7 @@ jobs:
 
       - name: Check and Display Regression Diffs
         if: always()
+        shell: bash {0}
         run: |
           # Search for regression.diffs recursively
           found_file=$(find . -type f -name "regression.diffs" | head -n 1)
diff --git a/.github/workflows/build-deb-cloudberry.yml 
b/.github/workflows/build-deb-cloudberry.yml
index 52db1819194..f8eadee3c8f 100644
--- a/.github/workflows/build-deb-cloudberry.yml
+++ b/.github/workflows/build-deb-cloudberry.yml
@@ -1618,6 +1618,7 @@ jobs:
 
       - name: Check and Display Regression Diffs
         if: always()
+        shell: bash {0}
         run: |
           # Search for regression.diffs recursively
           found_file=$(find . -type f -name "regression.diffs" | head -n 1)


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to