From 64183b8379f3c8845cb4fe31a2a7856908e0db54 Mon Sep 17 00:00:00 2001 From: Sergey Kudashev Date: Sat, 26 Mar 2022 11:44:31 +0300 Subject: [PATCH] Update run-tests.yml update cache imagemagick section. --- .github/workflows/run-tests.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index e456c2ee..c2c6c787 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -42,7 +42,8 @@ jobs: id: cache-imagemagick with: path: ${HOME}/im/imagemagick-${{ matrix.imagemagick }} - key: ${{ runner.os }}-ImageMagick-${{ matrix.imagemagick }} + key: ${{ runner.os }}-ImageMagick-${{ matrix.imagemagick }}-${{ hashFiles('**/composer.json') }} + restore-keys: ${{ runner.os }}-ImageMagick-${{ matrix.imagemagick }}- - name: Install ImageMagick if: steps.cache-imagemagick.outputs.cache-hit != 'true'