Skip to content

Commit

Permalink
[GLUTEN-6957][VL] Fix mvn not found in cache job (#6974)
Browse files Browse the repository at this point in the history
  • Loading branch information
PHILO-HE authored Aug 22, 2024
1 parent bd26d83 commit 07c1ce7
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/velox_backend_cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 07c1ce7

Please sign in to comment.