Skip to content

Commit 2e80693

Browse files
committed
feat(cache): adds cache manual invalidation with prefix
1 parent d9aca6a commit 2e80693

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ jobs:
6060
key: ${{ runner.os }}-ghc-${{ steps.setup.outputs.ghc-version }}-cabal-${{ steps.setup.outputs.cabal-version }}
6161
with:
6262
path: ${{ steps.setup.outputs.cabal-store }}
63-
key: ${{ env.key }}-plan-${{ hashFiles('${{ github.workspace }}/dist-newstyle/cache/plan.json') }}
64-
restore-keys: ${{ env.key }}-
63+
key: v1-ghc-deps-${{ env.key }}-plan-${{ hashFiles('${{ github.workspace }}/dist-newstyle/cache/plan.json') }}
64+
restore-keys: v1-ghc-deps-${{ env.key }}-
6565

6666
- name: Install dependencies
6767
if: steps.cache.outputs.cache-hit != 'true'

0 commit comments

Comments
 (0)