From b027b185ee1ab890de09b31ad1e2034cc2a1f48c Mon Sep 17 00:00:00 2001 From: David mattei Date: Thu, 11 Jul 2024 20:55:50 +0200 Subject: [PATCH] chore: test build cache only by branch name --- .github/workflows/ci.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ee1e89775..29842ed3e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,9 +31,7 @@ jobs: uses: actions/cache/restore@v4 with: path: .cache - key: ci-${{ github.ref_name }}-${{ github.run_id }} - restore-keys: | - ci-${{ github.ref_name }}- + key: ci-${{ github.ref_name }} - name: "Restore Composer Cache" uses: actions/cache/restore@v4 @@ -62,7 +60,7 @@ jobs: if: always() with: path: .cache - key: ci-${{ github.ref_name }}-${{ github.run_id }} + key: ci-${{ github.ref_name }} - name: "Save vendor directory" if: steps.restore-composer.outputs.cache-hit != 'true'