From 2317cc5191d91fff5ca041e10e9b084ab019a8b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20L=C3=B3pez?= Date: Fri, 24 Feb 2023 09:18:55 -0300 Subject: [PATCH] ci: configure caching for Windows builds --- .github/workflows/ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 002b0f833..ca16cffa3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -66,7 +66,9 @@ jobs: - name: Cache Local uses: actions/cache@v3 with: - path: ~/.local/ + path: | + ~/.local + D:\a\_temp\msys64\home\runneradmin\.local key: ${{ runner.os }}-local-v5-${{ hashFiles('.github/scripts/install-*') }} - name: Cache Stack @@ -75,6 +77,8 @@ jobs: path: | ~/.stack .stack-work + ~\AppData\Roaming\stack + ~\AppData\Local\Programs\stack key: ${{ runner.os }}-stack-v5-${{ hashFiles('package.yaml', 'stack.yaml') }} - name: Cache Cabal