Fixes centos CI

Signed-off-by: Tao He <sighingnow@gmail.com>
This commit is contained in:
Tao He 2023-02-01 11:06:45 +08:00
parent 827c4680c3
commit 8a2f6c7d86
1 changed files with 1 additions and 5 deletions

View File

@ -40,15 +40,11 @@ jobs:
with: with:
submodules: true submodules: true
- name: Get time
run: |
date +'%Y-%m' > snapshot.txt
- name: Cache for cccahe - name: Cache for cccahe
uses: actions/cache@v3 uses: actions/cache@v3
with: with:
path: /home/runner/.ccache path: /home/runner/.ccache
key: ${{ runner.os }}-centos-ccache-${{ hashFiles('**/snapshot.txt') }} key: ${{ runner.os }}-centos-ccache-${{ hashFiles('/CMakeLists.txt') }}
restore-keys: | restore-keys: |
${{ runner.os }}-centos-ccache- ${{ runner.os }}-centos-ccache-