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 <[email protected]> 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 <[email protected]> --- .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: [email protected] For additional commands, e-mail: [email protected]
