File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 52
52
53
53
- name : Configure the build
54
54
run : |
55
- echo "with key: ${{ runner.os }}-ghc -${{ steps.setup.outputs.ghc-version }}-cabal-${{ steps.setup.outputs.cabal-version }}"
55
+ echo "with key: ${{ runner.os }}-lts -${{ matrix.stack.lts }}"
56
56
57
57
stack config set resolver lts-${{ matrix.stack.lts }}
58
58
stack build --dry-run
62
62
uses : actions/cache/restore@v3
63
63
id : cache
64
64
env :
65
- key : ${{ runner.os }}-ghc -${{ steps.setup.outputs.ghc-version }}-cabal-${{ steps.setup.outputs.cabal-version }}
65
+ key : ${{ runner.os }}-lts -${{ matrix.stack.lts }}
66
66
67
67
with :
68
68
path : ${{ steps.setup.outputs.stack-root }}
72
72
- name : Install dependencies
73
73
run : stack build --only-dependencies
74
74
75
- # Cache dependencies already here, so that we do not have to rebuild them should the subsequent steps fail.
75
+ # Cache dependencies already here, so that we do not have to rebuild them
76
+ # should the subsequent steps fail.
76
77
- name : Save cached dependencies
77
78
uses : actions/cache/save@v3
78
79
# Caches are immutable, trying to save with the same key would error.
You can’t perform that action at this time.
0 commit comments