diff --git a/.github/actions/ci-setup-assets/action.yml b/.github/actions/ci-setup-assets/action.yml index 6db13ed24..d728c93f4 100644 --- a/.github/actions/ci-setup-assets/action.yml +++ b/.github/actions/ci-setup-assets/action.yml @@ -11,11 +11,11 @@ runs: public/assets public/packs-test tmp/cache/webpacker - key: asset-cache-${{ runner.os }}-${{ github.ref }}-${{ github.sha }} + key: asset-cache-${{ runner.os }}-${{ hashFiles('patches/**/*.patch') }}-${{ github.ref }}-${{ github.sha }} restore-keys: | - asset-cache-${{ runner.os }}-${{ github.ref }}-${{ github.sha }} - asset-cache-${{ runner.os }}-${{ github.ref }}- - asset-cache-${{ runner.os }}- + asset-cache-${{ runner.os }}-${{ hashFiles('patches/**/*.patch') }}-${{ github.ref }}-${{ github.sha }} + asset-cache-${{ runner.os }}-${{ hashFiles('patches/**/*.patch') }}-${{ github.ref }}- + asset-cache-${{ runner.os }}-${{ hashFiles('patches/**/*.patch') }} - name: Precompile assets env: