Include build type in ccache key

This should lead to better cache utilisation, smaller caches
This commit is contained in:
Michał Janiszewski 2023-04-11 09:50:00 +02:00 committed by David Capello
parent bcbe61c882
commit af19d81806

View File

@ -21,7 +21,7 @@ jobs:
uses: hendrikmuhs/ccache-action@v1 uses: hendrikmuhs/ccache-action@v1
if: runner.os == 'Linux' if: runner.os == 'Linux'
with: with:
key: ${{ matrix.os }}-${{ matrix.enable_ui }} key: ${{ matrix.os }}-${{ matrix.enable_ui }}-${{ matrix.build_type }}
- uses: turtlesec-no/get-ninja@main - uses: turtlesec-no/get-ninja@main
- uses: ilammy/msvc-dev-cmd@v1 - uses: ilammy/msvc-dev-cmd@v1
if: runner.os == 'Windows' if: runner.os == 'Windows'