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

zhangliang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git


The following commit(s) were added to refs/heads/master by this push:
     new 38c1d7fa015 Try to use mvnd for SQL E2E GitHub action (#36942)
38c1d7fa015 is described below

commit 38c1d7fa015388e3e0a3ce74906b245b116505ac
Author: Liang Zhang <[email protected]>
AuthorDate: Sun Oct 26 13:37:28 2025 +0800

    Try to use mvnd for SQL E2E GitHub action (#36942)
    
    * Try to use mvnd for SQL E2E GitHub action
    
    * Try to use mvnd for SQL E2E GitHub action
---
 .github/workflows/e2e-sql.yml         |  6 ++++++
 .github/workflows/nightly-e2e-sql.yml | 10 ++++++++--
 2 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/e2e-sql.yml b/.github/workflows/e2e-sql.yml
index f122e6fb671..bb135f19041 100644
--- a/.github/workflows/e2e-sql.yml
+++ b/.github/workflows/e2e-sql.yml
@@ -62,6 +62,9 @@ jobs:
         with:
           distribution: 'temurin'
           java-version: 11
+      - uses: gauthamchandra/[email protected]
+        with:
+          version: '1.0.3'
       - uses: actions/cache@v4
         with:
           path: ~/.m2/repository
@@ -125,6 +128,9 @@ jobs:
         with:
           distribution: 'temurin'
           java-version: 11
+      - uses: gauthamchandra/[email protected]
+        with:
+          version: '1.0.3'
       - name: Download E2E Image
         if: matrix.adapter == 'proxy'
         uses: actions/download-artifact@v4
diff --git a/.github/workflows/nightly-e2e-sql.yml 
b/.github/workflows/nightly-e2e-sql.yml
index d7edde33647..a85a7de006c 100644
--- a/.github/workflows/nightly-e2e-sql.yml
+++ b/.github/workflows/nightly-e2e-sql.yml
@@ -53,8 +53,11 @@ jobs:
           restore-keys: |
             ${{ needs.global-environment.outputs.GLOBAL_CACHE_PREFIX 
}}-maven-third-party-e2e-cache-
             ${{ needs.global-environment.outputs.GLOBAL_CACHE_PREFIX 
}}-maven-third-party-
+      - uses: gauthamchandra/[email protected]
+        with:
+          version: '1.0.3'
       - name: Build E2E Image
-        run: ./mvnw -B clean install -am -pl test/e2e/sql -Pe2e.env.docker 
-DskipTests -Dspotless.apply.skip=true
+        run: mvnd -B clean install -am -pl test/e2e/sql -Pe2e.env.docker 
-DskipTests -Dspotless.apply.skip=true
       - name: Save E2E Image
         run: docker save -o /tmp/${{ 
needs.global-environment.outputs.GLOBAL_CACHE_PREFIX }}-proxy-test.tar 
apache/shardingsphere-proxy-test:latest
       - uses: actions/upload-artifact@v4
@@ -115,6 +118,9 @@ jobs:
         with:
           distribution: 'temurin'
           java-version: 21
+      - uses: gauthamchandra/[email protected]
+        with:
+          version: '1.0.3'
       - name: Download E2E Image
         if: matrix.adapter == 'proxy'
         uses: actions/download-artifact@v4
@@ -125,4 +131,4 @@ jobs:
         if: matrix.adapter == 'proxy'
         run: docker load -i /tmp/${{ 
needs.global-environment.outputs.GLOBAL_CACHE_PREFIX }}-proxy-test.tar
       - name: Run E2E Test
-        run: ./mvnw -nsu -B install -f test/e2e/sql/pom.xml 
-Dspotless.apply.skip=true -De2e.run.type=DOCKER -De2e.artifact.modes=${{ 
matrix.mode }} -De2e.artifact.adapters=${{ matrix.adapter }} 
-De2e.run.additional.cases=false -De2e.scenarios=${{ matrix.scenario }} 
-De2e.artifact.databases=${{ matrix.database }} ${{ matrix.additional-options }}
+        run: mvnd -nsu -B install -f test/e2e/sql/pom.xml 
-Dspotless.apply.skip=true -De2e.run.type=DOCKER -De2e.artifact.modes=${{ 
matrix.mode }} -De2e.artifact.adapters=${{ matrix.adapter }} 
-De2e.run.additional.cases=false -De2e.scenarios=${{ matrix.scenario }} 
-De2e.artifact.databases=${{ matrix.database }} ${{ matrix.additional-options }}

Reply via email to