We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b00d3f4 commit 10f84fcCopy full SHA for 10f84fc
.github/workflows/main.yml
@@ -20,6 +20,7 @@ jobs:
20
- uses: actions/checkout@v2
21
- name: Cache-stack
22
uses: actions/cache@v2
23
+ if: matrix.os != 'windows-latest'
24
env:
25
cache-name: stack
26
with:
@@ -29,6 +30,18 @@ jobs:
29
30
${{ runner.os }}-build-${{ env.cache-name }}-
31
${{ runner.os }}-build-
32
${{ runner.os }}-
33
+ - name: Cache-stack (Windows)
34
+ uses: actions/cache@v2
35
+ if: matrix.os == 'windows-latest'
36
+ env:
37
+ cache-name: stack-windows
38
+ with:
39
+ path: 'C:\Users\runneradmin\AppData\Local\Programs\stack'
40
+ key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/stack.yaml.lock') }}
41
+ restore-keys: |
42
+ ${{ runner.os }}-build-${{ env.cache-name }}-
43
+ ${{ runner.os }}-build-
44
+ ${{ runner.os }}-
45
- name: Setup Stack
46
47
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
0 commit comments