From c51971994e382e9dc76f67fe7577d40a97ca701c Mon Sep 17 00:00:00 2001 From: Jamie Schouten Date: Sat, 14 Sep 2024 10:45:36 +0000 Subject: [PATCH] Update action.yml --- action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index 903ffd9..6621501 100644 --- a/action.yml +++ b/action.yml @@ -5,7 +5,7 @@ inputs: file: description: 'file to hash for cache key' required: false - default: 'composer.lock' + default: '**/composer.lock' runs: using: "composite" @@ -24,7 +24,7 @@ runs: - uses: actions/cache@v4 with: path: ${{ steps.composer-cache.outputs.dir }} - key: ${{ runner.os }}-composer-${{ hashFiles('**/' + inputs.file) }} + key: ${{ runner.os }}-composer-${{ hashFiles(inputs.file) }} restore-keys: | ${{ runner.os }}-composer-