From cf02e6e71064ba2ce36c354e3bd6b2d57de29d85 Mon Sep 17 00:00:00 2001 From: Craig Hesling Date: Sat, 6 Jan 2024 01:15:10 -0500 Subject: [PATCH] [GitHub] Remove redundant cache key prefix (#76914) Remove the redundant sccache cache key prefix. This prefix is already added by the ccache action, which results in cache keys like "sccache-sccache-ubuntu-...". See the following source lines as proof: https://github.com/hendrikmuhs/ccache-action/blob/2a51777f6f64b7b7bea213601acba8f5f4fdbe03/src/restore.ts#L22-L23 --- .github/workflows/llvm-project-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/llvm-project-tests.yml b/.github/workflows/llvm-project-tests.yml index 3345e734e1eb..594831ee6b5f 100644 --- a/.github/workflows/llvm-project-tests.yml +++ b/.github/workflows/llvm-project-tests.yml @@ -85,7 +85,7 @@ jobs: # enough cache space for all the tests to run at once and still # fit under the 10 GB limit. max-size: 500M - key: sccache-${{ matrix.os }} + key: ${{ matrix.os }} variant: sccache - name: Build and Test uses: llvm/actions/build-test-llvm-project@main