From e61607f26248c4e7e562d72521a7d7ff31b71391 Mon Sep 17 00:00:00 2001 From: Zhichun Wu Date: Mon, 23 May 2022 21:24:47 +0800 Subject: [PATCH] Add workaround for maven timeout error --- .github/workflows/build.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a0627a216..d20833f4c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -85,6 +85,10 @@ jobs: distribution: 'temurin' java-version: 8 cache: 'maven' + # or take below workaround as mentioned at /~https://github.com/actions/virtual-environments/issues/1499#issuecomment-689467080 + # -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 + - name: Check + run: mvn --batch-mode --update-snapshots -Drelease -DskipTests install - name: Build run: | mvn --batch-mode --update-snapshots -Drelease -DclickhouseVersion=${{ matrix.clickhouse }} -Dprotocol=${{ matrix.protocol }} verify