You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ch...@apache.org on 2023/03/15 12:34:11 UTC

[flink-connector-shared-utils] 01/02: [FLINK-31454] Fix caching flag comparison

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

chesnay pushed a commit to branch ci_utils
in repository https://gitbox.apache.org/repos/asf/flink-connector-shared-utils.git

commit de0b6a36e625e53dbae66a0364b8d4a51db96f42
Author: Chesnay Schepler <ch...@apache.org>
AuthorDate: Tue Mar 14 14:54:05 2023 +0100

    [FLINK-31454] Fix caching flag comparison
---
 .github/workflows/ci.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 360dee6..07c8c25 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -110,7 +110,7 @@ jobs:
         run: mkdir -p ${{ env.FLINK_CACHE_DIR }}
 
       - name: Restore cached Flink binary
-        if: ${{ env.cache_binary }}
+        if: ${{ env.cache_binary == 'true' }}
         uses: actions/cache/restore@v3
         id: restore-cache-flink
         with:
@@ -123,7 +123,7 @@ jobs:
         run: wget -q -c ${{ env.binary_url }} -O - | tar -xz
 
       - name: Cache Flink binary
-        if: ${{ env.cache_binary }}
+        if: ${{ env.cache_binary == 'true' }}
         uses: actions/cache/save@v3
         id: cache-flink
         with: