From d1dbcbdaf0c9b54827d6a24c567f5b72ba05924a Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Sat, 7 Mar 2020 01:36:50 -0800 Subject: [PATCH] ;ci: github: windows: tweak caching --- .github/workflows/windows-nightly.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/windows-nightly.yml b/.github/workflows/windows-nightly.yml index 0c20850b3..5d6d29179 100644 --- a/.github/workflows/windows-nightly.yml +++ b/.github/workflows/windows-nightly.yml @@ -52,9 +52,8 @@ jobs: #key: ${{ runner.os }}-appdata-local-programs-stack-${{ github.sha }} # which files signal a change in the global stack dir ? # 'stack.yaml','stack.lock' should be included, but how - key: ${{ runner.os }}-appdata-local-programs-stack-${{ '*/*.cabal' }} - restore-keys: | - ${{ runner.os }}-appdata-local-programs-stack- + key: ${{ runner.os }}-appdata-local-programs-stack-${{ hashFiles('*/*.cabal') }} + restore-keys: ${{ runner.os }}-appdata-local-programs-stack- - name: Cache C:\Users\runneradmin\AppData\Local\Packages\ uses: actions/cache@v1 with: