From 3c118c2b07bacea9b8e1e2c44d31506b2a2c872f Mon Sep 17 00:00:00 2001 From: Malcolm Smith Date: Wed, 16 Oct 2024 17:01:44 +0100 Subject: [PATCH] In CI, run all product Gradle commands with Java 11 --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7e6da1f7d1..ac226a46de 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -42,6 +42,7 @@ jobs: - name: Build run: | cd product + export JAVA_HOME=$JAVA_HOME_11_X64 ./gradlew publish -P cmakeBuildType=Release - name: Upload Maven repository @@ -91,6 +92,7 @@ jobs: - name: Build run: | cd product + export JAVA_HOME=$JAVA_HOME_11_X64 ./gradlew docs - uses: actions/upload-artifact@v4.3.3 @@ -115,6 +117,7 @@ jobs: - name: Test run: | cd product + export JAVA_HOME=$JAVA_HOME_11_X64 ./gradlew gradle:testPython @@ -193,4 +196,5 @@ jobs: - name: Test run: | cd product + export JAVA_HOME=$JAVA_HOME_11_X64 CHAQUOPY_NO_BUILD=1 ./gradlew testIntegration-${{ matrix.agp-version }}