You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kie.apache.org by js...@apache.org on 2023/11/09 17:28:09 UTC
(incubator-kie-kogito-pipelines) 04/09: kie-issue#675: fix install-maven.sh in maven GHA (#1117)
This is an automated email from the ASF dual-hosted git repository.
jstastnycz pushed a commit to branch radtriste-fix-pipelines
in repository https://gitbox.apache.org/repos/asf/incubator-kie-kogito-pipelines.git
commit bc5b55c2270d935ce2b702d43d7abe97ff13d4ae
Author: Jan Stastny <st...@gmail.com>
AuthorDate: Mon Nov 6 13:29:55 2023 +0100
kie-issue#675: fix install-maven.sh in maven GHA (#1117)
Co-authored-by: jstastny-cz <ja...@ibm.com>
---
.ci/actions/maven/install-maven.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.ci/actions/maven/install-maven.sh b/.ci/actions/maven/install-maven.sh
index 67957fa4..9b94975a 100755
--- a/.ci/actions/maven/install-maven.sh
+++ b/.ci/actions/maven/install-maven.sh
@@ -4,7 +4,7 @@ set -e
install_path=$1
maven_version=$2
-if [[ -z ${maven_version} ]]; then
+if [ -z "${maven_version}" ]; then
maven_version=$(curl https://maven.apache.org/download.cgi --silent | grep "Downloading Apache Maven " | grep -oE '[0-9].[0-9]+.[0-9]+')
fi
maven_file="apache-maven-${maven_version}-bin.tar.gz"
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org