From 05fc093b5e067ea7250398647fd074acb79e4f08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20K=C3=A4llberg?= Date: Sat, 5 Mar 2022 11:47:46 +0800 Subject: [PATCH] Add restore key to cache --- .github/workflows/build-all-versions.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build-all-versions.yml b/.github/workflows/build-all-versions.yml index 2217388db..3472fa92b 100644 --- a/.github/workflows/build-all-versions.yml +++ b/.github/workflows/build-all-versions.yml @@ -90,6 +90,8 @@ jobs: with: path: ~/.stack key: ${{ runner.os }}-${{ matrix.ghc }}-stack--${{ hashFiles(format('stack-ghc{0}', matrix.ghc)) }} + restore-keys: | + ${{ runner.os }}-${{ matrix.ghc }}-stack - name: Build run: |