summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorBen Wiederhake <BenWiederhake.GitHub@gmx.de>2021-03-04 18:54:30 +0100
committerAndreas Kling <kling@serenityos.org>2021-03-04 19:40:49 +0100
commit06debb1832bff46cd52cd6e7809c297ba71636ba (patch)
tree652f847ae8e6bdefb13f8d4f4c0955fcb1bd5bb2 /.github/workflows
parenta13e8d49cf698a345867eab8b17e7e156b56814c (diff)
downloadserenity-06debb1832bff46cd52cd6e7809c297ba71636ba.zip
Meta: Search for the correct ccache cache key
"Hmm, 'toolchain' is a better name here!" I said, and changed the key name. And then I promptly forgot to update the restore-key value. D'oh!
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/cmake.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml
index 8b8af1d9db..656f455592 100644
--- a/.github/workflows/cmake.yml
+++ b/.github/workflows/cmake.yml
@@ -90,8 +90,9 @@ jobs:
# and permitting the restore-key "prefix-" without specifying a timestamp.
# For this trick to work, the timestamp *must* come last, and it *must* be missing in 'restore-keys'.
key: ${{ runner.os }}-ccache-i686-v${{ matrix.ccache-mark }}-D${{ matrix.debug-macros }}-toolchain_${{steps.stamps.outputs.libc_headers}}-time${{ steps.stamps.outputs.time }}
+ # IMPORTANT: Keep these two in sync!
restore-keys: |
- ${{ runner.os }}-ccache-i686-v${{ matrix.ccache-mark }}-D${{ matrix.debug-macros }}-libc_${{steps.stamps.outputs.libc_headers}}-
+ ${{ runner.os }}-ccache-i686-v${{ matrix.ccache-mark }}-D${{ matrix.debug-macros }}-toolchain_${{steps.stamps.outputs.libc_headers}}-
- name: Show ccache stats before build and configure
run: |
# We only have 5 GiB of cache available *in total*. Beyond that, GitHub deletes caches.