diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b269bc60..11a4f9b3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -46,9 +46,10 @@ jobs: - name: Restore Cache of .ccache/ uses: actions/cache@v3 with: - path: .buildroot-ccache/ - key: ccache-${{ matrix.platform }}-os-${{ hashFiles('.git/modules/buildroot/HEAD', 'package/*/*.hash') }} + path: .ccache/ + key: ccache-${{ matrix.platform }}-${{ matrix.variant }}-${{ hashFiles('.git/modules/buildroot/HEAD', 'package/*/*.hash') }} restore-keys: | + ccache-${{ matrix.platform }}-${{ matrix.variant }}- ccache-${{ matrix.platform }}- ccache- - name: Configure & Build