You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shenyu.apache.org by li...@apache.org on 2025/06/23 11:30:30 UTC
(shenyu) branch feat/mvnd created (now 7b9f1a0f94)
This is an automated email from the ASF dual-hosted git repository.
liuhongyu pushed a change to branch feat/mvnd
in repository https://gitbox.apache.org/repos/asf/shenyu.git
at 7b9f1a0f94 [feat] mvnd
This branch includes the following new commits:
new 7b9f1a0f94 [feat] mvnd
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(shenyu) 01/01: [feat] mvnd
Posted by li...@apache.org.
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 <li...@apache.org>
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