From 8a2f6c7d862fa464ce7d4e6093215243d333fa91 Mon Sep 17 00:00:00 2001 From: Tao He Date: Wed, 1 Feb 2023 11:06:45 +0800 Subject: [PATCH] Fixes centos CI Signed-off-by: Tao He --- .github/workflows/centos-latest.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/centos-latest.yml b/.github/workflows/centos-latest.yml index 1c1f4e9..87080b7 100644 --- a/.github/workflows/centos-latest.yml +++ b/.github/workflows/centos-latest.yml @@ -40,15 +40,11 @@ jobs: with: submodules: true - - name: Get time - run: | - date +'%Y-%m' > snapshot.txt - - name: Cache for cccahe uses: actions/cache@v3 with: path: /home/runner/.ccache - key: ${{ runner.os }}-centos-ccache-${{ hashFiles('**/snapshot.txt') }} + key: ${{ runner.os }}-centos-ccache-${{ hashFiles('/CMakeLists.txt') }} restore-keys: | ${{ runner.os }}-centos-ccache-