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 99e30adf21 [FLINK][CI] Add daily schedule on ccache (#12391)
99e30adf21 is described below

commit 99e30adf21db876711961677b43ed16112647a6d
Author: zhanglistar <[email protected]>
AuthorDate: Tue Jun 30 09:34:15 2026 +0800

    [FLINK][CI] Add daily schedule on ccache (#12391)
    
    * [FLINK] Seed ccache on main and add daily schedule
    
    * [FLINK] Move ccache save after velox4j build with success() guard
    
    * [FLINK] Set ccache schedule to 02:00 Beijing time
    
    * [FLINK] Remove push trigger, rely on schedule for cache seeding
---
 .github/workflows/flink.yml | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/flink.yml b/.github/workflows/flink.yml
index 66c5734923..d2198a8cfa 100644
--- a/.github/workflows/flink.yml
+++ b/.github/workflows/flink.yml
@@ -21,6 +21,8 @@ on:
       - '.github/workflows/flink.yml'
       - 'build/mvn'
       - 'gluten-flink/**'
+  schedule:
+    - cron: '0 18 * * *'
 
 env:
   MAVEN_OPTS: >-
@@ -67,7 +69,7 @@ jobs:
           key: ccache-flink-centos8
           restore-keys: |
             ccache-flink-centos8
-      - name: Prepare
+      - name: Prepare and build velox4j
         run: |
           source /opt/rh/gcc-toolset-11/enable
           sudo dnf install -y patchelf ccache
@@ -91,20 +93,25 @@ jobs:
           $GITHUB_WORKSPACE/build/mvn clean install -DskipTests -Dgpg.skip 
-Dspotless.skip=true
           cd ..
           ccache -s
-          git clone https://github.com/nexmark/nexmark.git
-          cd nexmark
-          $GITHUB_WORKSPACE/build/mvn clean install -DskipTests
       - name: Save ccache
         if: success()
         uses: actions/cache/save@v4
         with:
           path: '${{ env.CCACHE_DIR }}'
           key: ccache-flink-centos8
+      - name: Build nexmark
+        if: github.event_name != 'schedule'
+        run: |
+          git clone https://github.com/nexmark/nexmark.git
+          cd nexmark
+          $GITHUB_WORKSPACE/build/mvn clean install -DskipTests
       - name: Build Gluten Flink
+        if: github.event_name != 'schedule'
         run: |
           cd $GITHUB_WORKSPACE/gluten-flink
           $GITHUB_WORKSPACE/build/mvn clean package -Dmaven.test.skip=true
       - name: Run Unit Tests
+        if: github.event_name != 'schedule'
         run: |
           cd $GITHUB_WORKSPACE/gluten-flink
           $GITHUB_WORKSPACE/build/mvn test


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

Reply via email to