summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorBen Wiederhake <BenWiederhake.GitHub@gmx.de>2020-11-14 12:59:20 +0100
committerAndreas Kling <kling@serenityos.org>2020-11-14 15:30:29 +0100
commit80d1e12116b828616fa710f9ea110154b9bf3970 (patch)
tree089e489c48ea12611d2cdc0833924fb8dc18d42d /.github
parent58b70e8dc880bdde7e0f6a4f9c41938374f35769 (diff)
downloadserenity-80d1e12116b828616fa710f9ea110154b9bf3970.zip
Meta: Let toolchain patches invalidate toolchain cache
Fixes #4072.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/cmake.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml
index f5c885bdc3..3b2c0b5801 100644
--- a/.github/workflows/cmake.yml
+++ b/.github/workflows/cmake.yml
@@ -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