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

laiyingchun pushed a commit to branch fix_build_golang_regular
in repository https://gitbox.apache.org/repos/asf/incubator-pegasus.git

commit b925750e93e3f1898044588449c7e30a4f399f2b
Author: Yingchun Lai <[email protected]>
AuthorDate: Tue Dec 13 09:37:24 2022 +0800

    chore(ci): use ubuntu-20.04 and install thrift-0.13 specially
---
 .github/workflows/regular-build.yml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/regular-build.yml 
b/.github/workflows/regular-build.yml
index 058a085bc..9543742ee 100644
--- a/.github/workflows/regular-build.yml
+++ b/.github/workflows/regular-build.yml
@@ -117,8 +117,12 @@ jobs:
 
   build_go:
     name: Build Golang
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-20.04
     steps:
+      - name: Install thrift
+        # go-client imports thrift package of 0.13.0, so we must use 
thrift-compiler 0.13.0
+        # to generate code as well. The thrift-compiler version on 
ubuntu-20.04 is 0.13.0
+        run: sudo apt-get install -y thrift-compiler
       - name: Checkout
         uses: actions/checkout@v2
         with:


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

Reply via email to