Meta: Let toolchain patches invalidate toolchain cache

Fixes #4072.
This commit is contained in:
Ben Wiederhake 2020-11-14 12:59:20 +01:00 committed by Andreas Kling
parent 58b70e8dc8
commit 80d1e12116
Notes: sideshowbarker 2024-07-19 02:28:25 +09:00

View file

@ -46,7 +46,7 @@ jobs:
# This assumes that *ALL* LibC headers have an impact on the Toolchain.
# This is wrong, and causes more Toolchain rebuilds than necessary.
# However, we want to avoid false cache hits at all costs.
key: ${{ runner.os }}-toolchain-${{ hashFiles('Libraries/LibC/**/*.h') }}
key: ${{ runner.os }}-toolchain-${{ hashFiles('Libraries/LibC/**/*.h', 'Toolchain/Patches/*.patch') }}
- name: Restore or regenerate Toolchain
run: TRY_USE_LOCAL_TOOLCHAIN=y ${{ github.workspace }}/Toolchain/BuildIt.sh
# TODO: ccache