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

philo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-gluten.git


The following commit(s) were added to refs/heads/main by this push:
     new 901cc782dc [GLUTEN-9960][CH] Remove hardcoded path to cmake-format 
(#9907)
901cc782dc is described below

commit 901cc782dc9d59105a54d4d243388128e3fcb8b9
Author: Abolfazl Shahbazi <[email protected]>
AuthorDate: Mon Jun 9 17:59:55 2025 -0700

    [GLUTEN-9960][CH] Remove hardcoded path to cmake-format (#9907)
---
 .github/workflows/ch_code_style.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/ch_code_style.yml 
b/.github/workflows/ch_code_style.yml
index 7e4fafaaee..cfa2386c19 100644
--- a/.github/workflows/ch_code_style.yml
+++ b/.github/workflows/ch_code_style.yml
@@ -53,6 +53,7 @@ jobs:
           apt update -y
           apt install git python3-pip -y
           pip3 install --user cmake-format
+          echo "$HOME/.local/bin" >> "$GITHUB_PATH"
       - uses: actions/checkout@v4
       - name: Check CMake format
         run: |
@@ -60,7 +61,7 @@ jobs:
           cd $GITHUB_WORKSPACE/
           fileList=$(find ./cpp ./cpp-ch -name CMakeLists.txt -o -name *.cmake)
           for file in $fileList; do
-              /github/home/.local/bin/cmake-format --first-comment-is-literal 
True --in-place $file
+              cmake-format --first-comment-is-literal True --in-place $file
           done
           if [ -n "$(git status --porcelain)" ]; then
              echo "Please use cmake-format to format cmake files or apply the 
below patch."


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

Reply via email to