Fix ccache saving on cache hit (#39)

See boostorg/boost-ci#166
This commit is contained in:
Alexander Grund
2022-11-10 06:13:13 +01:00
committed by GitHub
parent f9c62f85af
commit 37c9bddf0b

View File

@ -141,7 +141,10 @@ jobs:
if: env.B2_USE_CCACHE
with:
path: ~/.ccache
key: ${{matrix.os}}-${{matrix.container}}-${{matrix.compiler}}
key: ${{matrix.os}}-${{matrix.container}}-${{matrix.compiler}}-${{github.sha}}
restore-keys: |
${{matrix.os}}-${{matrix.container}}-${{matrix.compiler}}-
${{matrix.os}}-${{matrix.container}}-${{matrix.compiler}}
- name: Fetch Boost.CI
uses: actions/checkout@v2