Skip to content

Commit 4cd1e86

Browse files
committed
github-actions: Cache ccache per-job
Otherwise different jobs seem to overwrite each other, loosing part of their cache.
1 parent ffebb82 commit 4cd1e86

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/build.yml

+2
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,8 @@ jobs:
162162
# Setup ccache cache
163163
- name: ccache
164164
uses: hendrikmuhs/[email protected]
165+
with:
166+
key: ${{ github.job }}-${{ matrix.container }}-${{ matrix.cc }}
165167

166168
# Cache the build of the mate-desktop dependency
167169
- name: Cache mate-desktop v${{env.MATE_PANEL_DEP}} dependency

0 commit comments

Comments
 (0)