namespace the ccache key with the repo and branch

develop
myk002 2022-06-05 21:54:53 -07:00 committed by Myk
parent 97775766ef
commit 1f6726bb03
1 changed files with 2 additions and 1 deletions

@ -65,8 +65,9 @@ jobs:
uses: actions/cache@v2
with:
path: ~/.ccache
key: ccache-${{ matrix.os }}-gcc-${{ matrix.gcc }}-${{ github.sha }}
key: ccache-${{ matrix.os }}-gcc-${{ matrix.gcc }}-${{ github.repository_owner }}-${{ github.ref_name }}-${{ github.sha }}
restore-keys: |
ccache-${{ matrix.os }}-gcc-${{ matrix.gcc }}-${{ github.repository_owner }}-${{ github.ref_name }}
ccache-${{ matrix.os }}-gcc-${{ matrix.gcc }}
- name: Download DF
run: |