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-