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

terrymanu 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 c7aac028cbf Save MCP E2E Maven cache after successful builds (#40185)
c7aac028cbf is described below

commit c7aac028cbfe7cf8038a17554e3b3cd6f3d87e3e
Author: Liang Zhang <[email protected]>
AuthorDate: Tue Oct 13 23:17:42 2026 +0800

    Save MCP E2E Maven cache after successful builds (#40185)
    
    Reuse the setup step's cache outputs to save Maven dependencies after
    the build, following the existing E2E workflow pattern.
---
 .github/workflows/e2e-mcp.yml | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/e2e-mcp.yml b/.github/workflows/e2e-mcp.yml
index 8e41f646118..546892d5457 100644
--- a/.github/workflows/e2e-mcp.yml
+++ b/.github/workflows/e2e-mcp.yml
@@ -63,7 +63,8 @@ jobs:
       distribution-artifact-id: ${{ 
steps.upload-distribution.outputs.artifact-id }}
     steps:
       - uses: actions/[email protected]
-      - uses: ./.github/actions/setup-build-environment
+      - id: setup-build-environment
+        uses: ./.github/actions/setup-build-environment
         with:
           java-version: '21'
           maven-repository-dir: ${{ env.MAVEN_REPOSITORY_DIR }}
@@ -95,6 +96,11 @@ jobs:
           type: source
           operation: save
           image: ${{ steps.prepare-image.outputs.image }}
+      - uses: ./.github/actions/save-maven-cache
+        with:
+          maven-repository-dir: ${{ env.MAVEN_REPOSITORY_DIR }}
+          cache-hit: ${{ steps.setup-build-environment.outputs.cache-hit }}
+          cache-primary-key: ${{ 
steps.setup-build-environment.outputs.cache-primary-key }}
       - name: Upload MCP Maven Repository
         id: upload-maven
         uses: ./.github/actions/upload-e2e-artifacts

Reply via email to