From 1f6726bb031da11c54b79edf18c018b76e5e99f7 Mon Sep 17 00:00:00 2001 From: myk002 Date: Sun, 5 Jun 2022 21:54:53 -0700 Subject: [PATCH] namespace the ccache key with the repo and branch --- .github/workflows/build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 15c653bf8..6dbb43e15 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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: |