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 2022/09/15 09:57:11 UTC

[flink-connector-elasticsearch] branch main updated: [hotfix] Move binary download into separate step

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

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


The following commit(s) were added to refs/heads/main by this push:
     new 06897fa  [hotfix] Move binary download into separate step
06897fa is described below

commit 06897faf692f98ec7676e5ac2fbb8c3aec2d9c03
Author: Chesnay Schepler <ch...@apache.org>
AuthorDate: Thu Sep 15 11:05:39 2022 +0200

    [hotfix] Move binary download into separate step
---
 .github/workflows/ci.yml | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index c4d44cf..0374c86 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -46,13 +46,13 @@ jobs:
         with:
           maven-version: 3.8.6
 
+      - name: Download Flink binary
+        working-directory: ./..
+        run: wget -q -c ${{ env.FLINK_URL }} -O - | tar -xz
+
       - name: Compile and test flink-connector-elasticsearch
         timeout-minutes: 20
-        run: |
-          pushd .. \
-            && wget -q -c ${{ env.FLINK_URL }} -O - | tar -xz \
-            && popd
-          
+        run: |          
           mvn clean install -U -B --no-transfer-progress \
             -Dscala-2.12 \
             -Prun-end-to-end-tests -DdistDir=$(pwd)/../flink-1.16-SNAPSHOT \