Skip to content

Commit e61607f

Browse files
committed
Add workaround for maven timeout error
1 parent ad5187b commit e61607f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/build.yml

+4
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,10 @@ jobs:
8585
distribution: 'temurin'
8686
java-version: 8
8787
cache: 'maven'
88+
# or take below workaround as mentioned at https://github.com/actions/virtual-environments/issues/1499#issuecomment-689467080
89+
# -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120
90+
- name: Check
91+
run: mvn --batch-mode --update-snapshots -Drelease -DskipTests install
8892
- name: Build
8993
run: |
9094
mvn --batch-mode --update-snapshots -Drelease -DclickhouseVersion=${{ matrix.clickhouse }} -Dprotocol=${{ matrix.protocol }} verify

0 commit comments

Comments
 (0)