From 04d1697a81709b9181c9adcc54c0b99de23d245f Mon Sep 17 00:00:00 2001 From: PHILO-HE Date: Thu, 22 Aug 2024 14:25:09 +0800 Subject: [PATCH] [GLUTEN-6957][VL] Fix mvn not found in cache job (#6974) --- .github/workflows/velox_backend_cache.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/velox_backend_cache.yml b/.github/workflows/velox_backend_cache.yml index 44ee969cba4f..a25eda9367d6 100644 --- a/.github/workflows/velox_backend_cache.yml +++ b/.github/workflows/velox_backend_cache.yml @@ -77,14 +77,17 @@ jobs: ./cpp/build/velox/benchmarks/ /root/.m2/repository/org/apache/arrow/ key: cache-velox-build-centos-8-${{ hashFiles('./cache-key') }} - - name: Build Gluten native libraries + - name: Setup java and maven if: steps.check-cache.outputs.cache-hit != 'true' run: | - df -a sed -i -e "s|mirrorlist=|#mirrorlist=|g" /etc/yum.repos.d/CentOS-* || true sed -i -e "s|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g" /etc/yum.repos.d/CentOS-* || true yum install sudo patch java-1.8.0-openjdk-devel wget -y bash .github/workflows/util/setup_helper.sh install_maven + - name: Build Gluten native libraries + if: steps.check-cache.outputs.cache-hit != 'true' + run: | + df -a bash dev/ci-velox-buildshared-centos-8.sh - name: Cache if: steps.check-cache.outputs.cache-hit != 'true'