From 8c456498c1067f0df4eafa4fa2c5fe583b73b180 Mon Sep 17 00:00:00 2001 From: Yuan Zhou Date: Tue, 26 Nov 2024 10:24:26 +0800 Subject: [PATCH] fix get cache action Signed-off-by: Yuan Zhou --- .github/workflows/velox_backend.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/velox_backend.yml b/.github/workflows/velox_backend.yml index 23bf8b11ee36..ce2848d0def4 100644 --- a/.github/workflows/velox_backend.yml +++ b/.github/workflows/velox_backend.yml @@ -54,16 +54,10 @@ concurrency: cancel-in-progress: true jobs: - fetch-latest-code: + fetch-latest-cache-code: runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v4 - - build-native-lib-centos-7: - needs: fetch-latest-code - runs-on: ubuntu-20.04 - container: apache/gluten:vcpkg-centos-7 - steps: - name: Get Ccache uses: actions/cache/restore@v3 with: @@ -71,6 +65,14 @@ jobs: key: ccache-centos7-release-default-${{github.sha}} restore-keys: | ccache-centos7-release-default + + build-native-lib-centos-7: + needs: fetch-latest-code + runs-on: ubuntu-20.04 + container: apache/gluten:vcpkg-centos-7 + volumes: + - ${{ env.CCACHE_DIR }}:/root/.ccache + steps: - name: Build Gluten native libraries run: | df -a