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 40a391b
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/velox_backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,23 +54,26 @@ 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-cache-code
runs-on: ubuntu-20.04
container:
image: apache/gluten:vcpkg-centos-7
volumes:
- ${{ github.workspace }}/.ccache:/root/.ccache
steps:
- name: Build Gluten native libraries
run: |
df -a
Expand Down

0 comments on commit 40a391b

Please sign in to comment.