Skip to content

Commit beec8ee

Browse files
janisozaurkiranchandramohan
authored andcommitted
Use named keys for github actions caches
Each job will have its own cache. This will keep size of individual cache lower and increase hit rate by not trying to overwrite the same cache over and over again.
1 parent 1d8410a commit beec8ee

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/build_flang.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ jobs:
4040

4141
- name: ccache
4242
uses: hendrikmuhs/ccache-action@v1
43+
with:
44+
key: ${{ matrix.cc }}-${{ matrix.version }}
4345

4446
- if: matrix.cc == 'gcc' && matrix.version == '10'
4547
run: |

0 commit comments

Comments
 (0)