From 1e9f78ba89935b464533c7dc8b7fbdc1ac0bdd9b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 8 Jan 2025 05:58:45 +0000 Subject: [PATCH] Build subprojects in parallel (#3223) Signed-off-by: Lantao Jin (cherry picked from commit 44a92c58a2295e55cdd3cf0f3c865d487fc69c7b) Signed-off-by: github-actions[bot] --- .github/workflows/sql-test-and-build-workflow.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/sql-test-and-build-workflow.yml b/.github/workflows/sql-test-and-build-workflow.yml index 92089589e0..edceef2226 100644 --- a/.github/workflows/sql-test-and-build-workflow.yml +++ b/.github/workflows/sql-test-and-build-workflow.yml @@ -55,7 +55,7 @@ jobs: - name: Build with Gradle run: | chown -R 1000:1000 `pwd` - su `id -un 1000` -c "./gradlew --continue build" + su `id -un 1000` -c "./gradlew --continue --parallel build" - name: Run backward compatibility tests run: | @@ -122,7 +122,7 @@ jobs: java-version: ${{ matrix.entry.java }} - name: Build with Gradle - run: ./gradlew --continue build ${{ matrix.entry.os_build_args }} + run: ./gradlew --continue --parallel build ${{ matrix.entry.os_build_args }} - name: Create Artifact Path run: |