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

pkarwasz pushed a commit to branch 2.x
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git


The following commit(s) were added to refs/heads/2.x by this push:
     new 6f49f24808 Fix version detection (2)
6f49f24808 is described below

commit 6f49f248087047f8b154b3830aa0df581de1aebb
Author: Piotr P. Karwasz <[email protected]>
AuthorDate: Wed Mar 15 14:28:14 2023 +0100

    Fix version detection (2)
---
 .github/workflows/build.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 199b41530a..3e618452ef 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -151,9 +151,9 @@ jobs:
       - name: Inspect project version
         env:
           # Overrides defaults
-          MAVEN_ARGS:
+          MAVEN_ARGS: -q -N
         run: |
-          VERSION=$(./mvnw -q -N help:evaluate -DforceStdout=true 
-Dexpression=project.version)
+          VERSION=$(./mvnw help:evaluate -DforceStdout=true 
-Dexpression=project.version)
           echo $VERSION
           echo "project_version=$VERSION" >> $GITHUB_ENV
 

Reply via email to