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 5252
5353 - name : Configure the build
5454 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 }}"
5656
5757 stack config set resolver lts-${{ matrix.stack.lts }}
5858 stack build --dry-run
6262 uses : actions/cache/restore@v3
6363 id : cache
6464 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 }}
6666
6767 with :
6868 path : ${{ steps.setup.outputs.stack-root }}
7272 - name : Install dependencies
7373 run : stack build --only-dependencies
7474
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.
7677 - name : Save cached dependencies
7778 uses : actions/cache/save@v3
7879 # Caches are immutable, trying to save with the same key would error.
You can’t perform that action at this time.
0 commit comments