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


The following commit(s) were added to refs/heads/ci_utils by this push:
     new cef4405  [hotfix] Cache Flink binary immediately after download
cef4405 is described below

commit cef44059fe2f42cb705712b8a2667ee27fa97536
Author: Joao Boto <b...@boto.pro>
AuthorDate: Mon Mar 13 15:06:23 2023 +0100

    [hotfix] Cache Flink binary immediately after download
---
 .github/workflows/ci.yml | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 6aae3fa..069ed3e 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -113,6 +113,14 @@ jobs:
         if: steps.restore-cache-flink.outputs.cache-hit != 'true'
         run: wget -q -c ${{ env.binary_url }} -O - | tar -xz
 
+      - name: Cache Flink binary
+        if: ${{ env.cache_binary }}
+        uses: actions/cache/save@v3
+        id: cache-flink
+        with:
+          path: ${{ env.FLINK_CACHE_DIR }}
+          key: ${{ env.binary_url }}
+
       - name: Compile and test
         timeout-minutes: ${{ inputs.timeout_test }}
         run: |
@@ -133,11 +141,3 @@ jobs:
             -Dexec.args="${{ env.MVN_BUILD_OUTPUT_FILE }} $(pwd) ${{ 
env.MVN_VALIDATION_DIR }}" \
             ${{ env.MVN_CONNECTION_OPTIONS }} \
             -Dlog4j.configurationFile=file://$(pwd)/tools/ci/log4j.properties
-
-      - name: Cache Flink binary
-        if: ${{ env.cache_binary }}
-        uses: actions/cache/save@v3
-        id: cache-flink
-        with:
-          path: ${{ env.FLINK_CACHE_DIR }}
-          key: ${{ env.binary_url }}

Reply via email to