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

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


The following commit(s) were added to refs/heads/main by this push:
     new eff5ab8a11 [FLINK][CI] Refine ccache (#12372)
eff5ab8a11 is described below

commit eff5ab8a11e7a72c48680ddb1ccfc54ad32e77be
Author: zhanglistar <[email protected]>
AuthorDate: Fri Jun 26 14:51:47 2026 +0800

    [FLINK][CI] Refine ccache (#12372)
    
    * Set ccache size from 4GB to 2GB
    
    * Update flink.yml
    
    * [FLINK] Use fixed ccache key for cross-PR cache reuse
---
 .github/workflows/flink.yml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/flink.yml b/.github/workflows/flink.yml
index c4fc90db81..1df73f3119 100644
--- a/.github/workflows/flink.yml
+++ b/.github/workflows/flink.yml
@@ -60,7 +60,7 @@ jobs:
         uses: actions/cache/restore@v4
         with:
           path: '${{ env.CCACHE_DIR }}'
-          key: ccache-flink-centos8-${{github.sha}}
+          key: ccache-flink-centos8
           restore-keys: |
             ccache-flink-centos8
       - name: Prepare
@@ -68,7 +68,7 @@ jobs:
           source /opt/rh/gcc-toolset-11/enable
           sudo dnf install -y patchelf ccache
           export CCACHE_DIR=${CCACHE_DIR}
-          export CCACHE_MAXSIZE=4G
+          export CCACHE_MAXSIZE=2G
           mkdir -p ${CCACHE_DIR}
           ccache -sz
           sudo yum install 
https://mirror.stream.centos.org/9-stream/BaseOS/x86_64/os/Packages/tzdata-2026a-1.el9.noarch.rpm
 -y
@@ -91,11 +91,11 @@ jobs:
           cd nexmark
           $GITHUB_WORKSPACE/build/mvn clean install -DskipTests
       - name: Save ccache
-        if: always()
+        if: success()
         uses: actions/cache/save@v4
         with:
           path: '${{ env.CCACHE_DIR }}'
-          key: ccache-flink-centos8-${{github.sha}}
+          key: ccache-flink-centos8
       - name: Build Gluten Flink
         run: |
           cd $GITHUB_WORKSPACE/gluten-flink


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

Reply via email to