From 4968a3f50dea3cf309bc44efbe7f3bba791a826c Mon Sep 17 00:00:00 2001 From: Paul Chavard Date: Tue, 10 May 2022 15:41:26 +0200 Subject: [PATCH] fix(ga): include patches hash in github actions --- .github/actions/ci-setup-assets/action.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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: