Fixes centos CI
Signed-off-by: Tao He <sighingnow@gmail.com>
This commit is contained in:
parent
827c4680c3
commit
8a2f6c7d86
|
|
@ -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-
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue