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

liuhongyu pushed a commit to branch feat/mvnd
in repository https://gitbox.apache.org/repos/asf/shenyu.git

commit 7b9f1a0f9490f967639a927fad4afa4ca414f9ce
Author: liuhy <[email protected]>
AuthorDate: Mon Jun 23 19:30:17 2025 +0800

    [feat] mvnd
---
 .github/workflows/ci.yml | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 5893fd4b39..aa8d6133a2 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -66,9 +66,24 @@ jobs:
         with:
           java-version: ${{ matrix.java }}
           distribution: 'temurin'
+      - name: Install mvnd
+        shell: bash
+        run: |
+          MVND_VERSION=1.0.2
+          curl -sL 
https://downloads.apache.org/maven/mvnd/${MVND_VERSION}/maven-mvnd-${MVND_VERSION}-linux-amd64.zip
 -o mvnd.zip
+          unzip -q mvnd.zip
+          mkdir -p $HOME/.local
+          mv maven-mvnd-${MVND_VERSION}-linux-amd64 $HOME/.local/mvnd
+          echo "$HOME/.local/mvnd/bin" >> $GITHUB_PATH
+          echo "MVND_HOME=$HOME/.local/mvnd" >> $GITHUB_ENV
+      
+      - name: Verify mvnd installation
+        shell: bash
+        run: mvnd --version
+      
       - name: Build with Maven
         if: steps.filter.outputs.changed == 'true'
-        run: ./mvnw -B clean test -Prelease
+        run: mvnd -B clean test -Prelease
       - uses: codecov/codecov-action@v1
         with:
           token: 2760af6a-3405-4882-9e61-04c5176fecfa

Reply via email to