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

snuyanzin pushed a commit to branch release-1.20
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/release-1.20 by this push:
     new 12ec91b8508 [hotfix][ci] Use correct property 
`steps.docker-cache.outputs.cache-hit`
12ec91b8508 is described below

commit 12ec91b8508a1fe4b1e1d01cc5033a6147831208
Author: Sergey Nuyanzin <[email protected]>
AuthorDate: Tue Jul 7 16:46:03 2026 +0200

    [hotfix][ci] Use correct property `steps.docker-cache.outputs.cache-hit`
---
 .github/workflows/template.flink-ci.yml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/template.flink-ci.yml 
b/.github/workflows/template.flink-ci.yml
index 710053f8e66..a5be90ca120 100644
--- a/.github/workflows/template.flink-ci.yml
+++ b/.github/workflows/template.flink-ci.yml
@@ -233,7 +233,7 @@ jobs:
           restore-keys: ${{ matrix.module }}-docker-${{ runner.os }}
 
       - name: "Load Docker images if not present in cache, yet"
-        if: ${{ !cancelled() && !steps.docker-cache.cache.hit }}
+        if: ${{ !cancelled() && steps.docker-cache.outputs.cache-hit != 'true' 
}}
         working-directory: ${{ env.CONTAINER_LOCAL_WORKING_DIR }}
         run: ./tools/azure-pipelines/cache_docker_images.sh load
 
@@ -273,7 +273,7 @@ jobs:
 
       - name: "Save Docker images to cache"
         working-directory: ${{ env.CONTAINER_LOCAL_WORKING_DIR }}
-        if: ${{ !cancelled() && (failure() || !steps.docker-cache.cache.hit) }}
+        if: ${{ !cancelled() && (failure() || 
steps.docker-cache.outputs.cache-hit != 'true') }}
         run: ./tools/azure-pipelines/cache_docker_images.sh save
 
   e2e:
@@ -363,7 +363,7 @@ jobs:
           key: e2e-${{ matrix.group }}-docker-${{ runner.os }}-${{ 
hashFiles('**/cache_docker_images.sh', 
'**/flink-test-utils-parent/**/DockerImageVersions.java') }}
 
       - name: "Load Docker images if not present in Cache, yet"
-        if: ${{ !cancelled() && !steps.docker-cache.cache.hit }}
+        if: ${{ !cancelled() && steps.docker-cache.outputs.cache-hit != 'true' 
}}
         run: ./tools/azure-pipelines/cache_docker_images.sh load
 
       - name: "Build Flink"
@@ -391,5 +391,5 @@ jobs:
           path: ${{ steps.test-run.outputs.debug-files-output-dir }}
 
       - name: "Save Docker images to Cache"
-        if: ${{ !cancelled() && (failure() || !steps.docker-cache.cache.hit) }}
+        if: ${{ !cancelled() && (failure() || 
steps.docker-cache.outputs.cache-hit != 'true') }}
         run: ./tools/azure-pipelines/cache_docker_images.sh save

Reply via email to