This is an automated email from the ASF dual-hosted git repository.
rec pushed a commit to branch release/3.5.x
in repository https://gitbox.apache.org/repos/asf/uima-ruta.git
The following commit(s) were added to refs/heads/release/3.5.x by this push:
new d9068569 No issue: Download Maven 3.9.9 for the build and use it
d9068569 is described below
commit d90685691c49e69d5e42816291fa7ab8e9660d88
Author: Richard Eckart de Castilho <[email protected]>
AuthorDate: Fri Nov 29 12:14:39 2024 +0100
No issue: Download Maven 3.9.9 for the build and use it
---
.github/workflows/maven.yml | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 50ea0cee..7ec3b191 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -43,9 +43,8 @@ jobs:
echo "Downloading Maven for Windows..."
curl -fsSL
https://downloads.apache.org/maven/maven-3/3.9.9/binaries/apache-maven-3.9.9-bin.zip
-o maven.zip
Expand-Archive -Path maven.zip -DestinationPath $Env:USERPROFILE
- echo "Setting Maven environment variables..."
- echo "M2_HOME=$Env:USERPROFILE\\apache-maven-3.9.9" >> $Env:GITHUB_ENV
- echo "PATH=$Env:M2_HOME\\bin;$Env:PATH" >> $Env:GITHUB_ENV
+ echo "Adding Maven to PATH..."
+ echo "$Env:USERPROFILE\\apache-maven-3.9.9\\bin" >> $Env:GITHUB_PATH
- name: Set up Maven version on Linux
if: runner.os == 'Linux'