Skip to content

Commit

Permalink
fix get cache action
Browse files Browse the repository at this point in the history
Signed-off-by: Yuan Zhou <[email protected]>
  • Loading branch information
zhouyuan committed Nov 26, 2024
1 parent 12abbf8 commit 8c45649
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/velox_backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,23 +54,25 @@ 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:
path: '${{ env.CCACHE_DIR }}'
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
Expand Down

0 comments on commit 8c45649

Please sign in to comment.