From 4636609be2efe6a028d1faae180f992376021862 Mon Sep 17 00:00:00 2001 From: zomars Date: Sat, 25 Feb 2023 08:03:08 -0700 Subject: [PATCH] Cache fixes --- .github/actions/cache-build/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/cache-build/action.yml b/.github/actions/cache-build/action.yml index 7582ae9c38..f02cff2678 100644 --- a/.github/actions/cache-build/action.yml +++ b/.github/actions/cache-build/action.yml @@ -18,6 +18,6 @@ runs: ${{ github.workspace }}/apps/web/.next **/.turbo/** **/dist/** - key: ${{ runner.os }}-${{ env.cache-name }}-${{ env.key-1 }}-${{ env.key-2 }}-${{ github.sha }} + key: ${{ runner.os }}-${{ env.cache-name }}-${{ env.key-1 }}-${{ env.key-2 }}-${{ github.event.pull_request.number || github.ref }} restore-keys: | ${{ runner.os }}-${{ env.cache-name }}-${{ env.key-1 }}-${{ env.key-2 }}-