ci: os and lib added as cache keys for ccache action

This commit is contained in:
Mateusz Pusz
2021-05-08 19:10:59 +02:00
parent 0513d4f74b
commit c8d7138ad7

View File

@@ -81,7 +81,7 @@ jobs:
- uses: hendrikmuhs/ccache-action@v1
if: runner.os == 'Linux'
with:
key: ${{ matrix.config.compiler.type }}-${{ matrix.config.compiler.version }}-${{ matrix.build_type }}
key: ${{ matrix.config.os }}-${{ matrix.config.compiler.type }}-${{ matrix.config.compiler.version }}-${{ matrix.config.lib }}-${{ matrix.build_type }}
max-size: 100M
- name: Install Clang
if: matrix.config.compiler.type == 'CLANG'