This is an automated email from the ASF dual-hosted git repository.
liuhongyu 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 b6b1416aa3 fix: The use of outdated dependencies due to mvnd cache
(#6217)
b6b1416aa3 is described below
commit b6b1416aa32af18c11071998c4ff794553e6d97f
Author: Yu Siheng <[email protected]>
AuthorDate: Fri Oct 31 23:01:14 2025 +0800
fix: The use of outdated dependencies due to mvnd cache (#6217)
---
.github/workflows/e2e-k8s.yml | 13 ++++---------
1 file changed, 4 insertions(+), 9 deletions(-)
diff --git a/.github/workflows/e2e-k8s.yml b/.github/workflows/e2e-k8s.yml
index f1a479d383..b9451ecff7 100644
--- a/.github/workflows/e2e-k8s.yml
+++ b/.github/workflows/e2e-k8s.yml
@@ -337,16 +337,11 @@ jobs:
- name: Build examples with Maven
shell: bash
run: |
- if mvnd --version > /dev/null 2>&1; then
- echo "Using mvnd for build examples"
- mvnd -B clean install -Pexample -Dmaven.javadoc.skip=true
-Dmaven.test.skip=true -am -f ./shenyu-examples/pom.xml
+ echo "Falling back to maven wrapper for examples"
+ if [[ "${{ runner.os }}" == "Windows" ]]; then
+ ./mvnw.cmd -B clean install -Pexample -Dmaven.javadoc.skip=true
-Dmaven.test.skip=true -am -f ./shenyu-examples/pom.xml
else
- echo "Falling back to maven wrapper for examples"
- if [[ "${{ runner.os }}" == "Windows" ]]; then
- ./mvnw.cmd -B clean install -Pexample -Dmaven.javadoc.skip=true
-Dmaven.test.skip=true -am -f ./shenyu-examples/pom.xml
- else
- ./mvnw -B clean install -Pexample -Dmaven.javadoc.skip=true
-Dmaven.test.skip=true -am -f ./shenyu-examples/pom.xml
- fi
+ ./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