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

diwu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris-flink-connector.git


The following commit(s) were added to refs/heads/master by this push:
     new 93f8351  fix thrift compiler (#106)
93f8351 is described below

commit 93f83514553173b3b5b89506745338bb0c7613a7
Author: DongLiang-0 <[email protected]>
AuthorDate: Wed Feb 22 17:05:15 2023 +0800

    fix thrift compiler (#106)
    
    * fix thrift compiler
---
 .github/workflows/build-extension.yml | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/build-extension.yml 
b/.github/workflows/build-extension.yml
index bc0c47c..5a36596 100644
--- a/.github/workflows/build-extension.yml
+++ b/.github/workflows/build-extension.yml
@@ -38,11 +38,13 @@ jobs:
         distribution: adopt
         java-version: '8'
 
-    - name: Setup thrift
+    - name: Setup Apache Thrift Compiler
+      uses: dodopizza/setup-thrift@v1
+      with:
+        version: 0.13.0
+
+    - name: touch custom_env.sh
       run: |
-        sudo apt-get update
-        sudo DEBIAN_FRONTEND=noninteractive apt-get install -y 
thrift-compiler=0.13.0-2build2
-        thrift --version
         touch custom_env.sh
         echo 'export THRIFT_BIN=/usr/bin/thrift' >> custom_env.sh
 


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

Reply via email to