From e15b2b70d4d4f649b142e98462c086eaa8d4aba0 Mon Sep 17 00:00:00 2001 From: jianfengmao Date: Tue, 22 Oct 2024 20:31:43 -0600 Subject: [PATCH] Upgrade maven --- .github/workflows/build_ft_wheel.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_ft_wheel.yml b/.github/workflows/build_ft_wheel.yml index 166c5b9..3265212 100644 --- a/.github/workflows/build_ft_wheel.yml +++ b/.github/workflows/build_ft_wheel.yml @@ -91,7 +91,12 @@ jobs: CIBW_FREE_THREADED_SUPPORT: true CIBW_ARCHS_LINUX: "aarch64" CIBW_BUILD: "cp313t-*" - CIBW_BEFORE_ALL_LINUX: yum install -y java-11-openjdk-devel maven + CIBW_BEFORE_ALL_LINUX: > + yum install -y java-11-openjdk-devel && + yum install -y wget && + wget https://www.apache.org/dist/maven/maven-3/3.8.8/binaries/apache-maven-3.8.8-bin.tar.gz -P /tmp && + tar xf /tmp/apache-maven-3.8.8-bin.tar.gz -C /opt && + ln -s /opt/apache-maven-3.8.8/bin/mvn /usr/bin/mvn CIBW_ENVIRONMENT: JAVA_HOME=/etc/alternatives/jre_11_openjdk with: package-dir: .