[Test] Try to check if .ccache is in the build directory

This commit is contained in:
tangxifan 2020-11-24 16:54:55 -07:00
parent c7d288c043
commit df317271fd
1 changed files with 2 additions and 1 deletions

View File

@ -149,7 +149,7 @@ jobs:
- name: ccache cache files
uses: actions/cache@v2
with:
path: .ccache
path: ${{runner.workspace}}/build/.ccache
key: ${{ matrix.config.name }}-ccache-${{ steps.ccache_cache_timestamp.outputs.timestamp }}
restore-keys: |
${{ matrix.config.name }}-ccache-
@ -190,6 +190,7 @@ jobs:
# Check the cache size and see if it is over the limit
- name: Check ccache size
working-directory: ${{runner.workspace}}/build
shell: cmake -P {0}
run: |
execute_process(COMMAND ccache -s)