From fc2c8af52ef239f484a47b2f26e6064db984610e Mon Sep 17 00:00:00 2001 From: Colomban Wendling Date: Tue, 11 Mar 2025 23:39:41 +0100 Subject: github-actions: Cache ccache per-job Otherwise different jobs seem to overwrite each other, loosing part of their cache. --- .github/workflows/build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b6709486..62498f61 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -162,6 +162,8 @@ jobs: # Setup ccache cache - name: ccache uses: hendrikmuhs/ccache-action@v1.2 + with: + key: ${{ github.job }}-${{ matrix.container }}-${{ matrix.cc }} # Cache the build of the mate-desktop dependency - name: Cache mate-desktop v${{env.MATE_PANEL_DEP}} dependency -- cgit v1.2.1