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

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


The following commit(s) were added to refs/heads/master by this push:
     new 74b4e7bcf4 fix: fix  ci (#7207)
74b4e7bcf4 is described below

commit 74b4e7bcf4b081e541c31aae2b2f79fa3c3e2f59
Author: shown <[email protected]>
AuthorDate: Thu Sep 24 08:33:17 2026 +0800

    fix: fix  ci (#7207)
---
 .github/workflows/ci.yml      |  2 +-
 .github/workflows/e2e-k8s.yml | 31 +++++++++++++++++++------------
 2 files changed, 20 insertions(+), 13 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index be1ac4baa5..fcb1edd5eb 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -163,7 +163,7 @@ jobs:
           MODULE_ARGS=""
 
           if [[ "${{ needs.changes.outputs.full_build_required }}" != "true" 
&& -n "${{ needs.changes.outputs.modules }}" ]]; then
-            MODULE_ARGS="-pl ${{ needs.changes.outputs.modules }} -am -amd"
+            MODULE_ARGS="-pl ${{ needs.changes.outputs.modules }} -am"
           fi
 
           if mvnd --version > /dev/null 2>&1; then
diff --git a/.github/workflows/e2e-k8s.yml b/.github/workflows/e2e-k8s.yml
index 760604e89e..08dfde0106 100644
--- a/.github/workflows/e2e-k8s.yml
+++ b/.github/workflows/e2e-k8s.yml
@@ -199,6 +199,18 @@ jobs:
           path: /tmp/apache-shenyu-*.tar
           retention-days: 1
 
+      - name: Stage ShenYu local Maven repository
+        run: |
+          mkdir -p /tmp/shenyu-m2/org/apache
+          cp -R "${HOME}/.m2/repository/org/apache/shenyu" 
/tmp/shenyu-m2/org/apache/shenyu
+
+      - name: Upload ShenYu local Maven repository
+        uses: actions/upload-artifact@v4
+        with:
+          name: shenyu-local-maven-repository
+          path: /tmp/shenyu-m2
+          retention-days: 1
+
   e2e-storage:
     runs-on: ubuntu-latest
     needs:
@@ -348,13 +360,13 @@ jobs:
           name: shenyu-images
           path: /tmp/shenyu/
 
-      #      - name: Restore ShenYu E2E Maven Repos
-      #        uses: actions/cache/restore@v3
-      #        with:
-      #          path: ~/.m2/repository
-      #          key: ${{ runner.os }}-e2e-maven-${{ hashFiles('**/pom.xml') }}
-      #          restore-keys: |
-      #            ${{ runner.os }}-e2e-maven-
+      - uses: actions/download-artifact@v4
+        with:
+          name: shenyu-local-maven-repository
+          path: /tmp/shenyu-m2
+
+      - name: Restore ShenYu local Maven repository
+        run: bash .github/scripts/restore-shenyu-local-repo.sh /tmp/shenyu-m2
 
       - name: Build examples with Maven
         shell: bash
@@ -366,11 +378,6 @@ jobs:
             ./mvnw -B clean install -Pexample -Dmaven.javadoc.skip=true 
-Dmaven.test.skip=true -am -f ./shenyu-examples/pom.xml
           fi
 
-      - uses: actions/download-artifact@v4
-        with:
-          name: shenyu-images
-          path: /tmp/shenyu/
-
       - name: Load ShenYu Docker Images
         run: |
           docker load --input /tmp/shenyu/apache-shenyu-admin.tar

Reply via email to