From 1d3db0d757a492fbb6d12c572cf8f9725fd7fa90 Mon Sep 17 00:00:00 2001 From: Benjamin Prud'homme Date: Sat, 17 Feb 2024 14:56:46 -0500 Subject: [PATCH] Update pom.xml MY_JAVA_VERSION --- .github/workflows/maven.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index d4b205290e..dd328889e7 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -40,7 +40,7 @@ jobs: cd ../.. export MY_JAVA_VERSION=`java -version 2>&1 | head -1 | cut -d'"' -f2 | sed '/^1\./s///' | cut -d'.' -f1` echo "JAVA VERSION" ${MY_JAVA_VERSION} - if [[ ${MY_JAVA_VERSION} == "11" ]]; + if [[ ${MY_JAVA_VERSION} == "21" ]]; then export MY_POM_VERSION=`./mvnw -q -Dexec.executable="echo" -Dexec.args='${projects.version}' --non-recursive org.codehaus.mojo:exec-maven-plugin:1.3.1:exec` echo "POM VERSION" ${MY_POM_VERSION}