File tree 1 file changed +3
-4
lines changed
1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 85
85
INDEX_STATE1=$(echo "$INDEX_STATE_ENTRY" | cut -d' ' -f2 | tr ':' '-')
86
86
echo "INDEX_STATE=$INDEX_STATE1" >> $GITHUB_ENV
87
87
88
+ # To ensure we get the lastest hackage index and not relying on haskell action logic
89
+ - run : cabal update
90
+
88
91
- name : Form the package list ('cabal.project.freeze')
89
92
id : compute-cache-key
90
93
run : |
@@ -119,10 +122,6 @@ jobs:
119
122
${{ env.cache-name }}-${{ runner.os }}-${{ matrix.ghc }}-
120
123
${{ env.cache-name }}-${{ runner.os }}-
121
124
122
- # To ensure we get the lastest hackage index and not relying on haskell action logic
123
- - if : steps.compiled-deps.outputs.cache-hit != 'true'
124
- run : cabal update
125
-
126
125
- name : Build `hls-graph` with flags
127
126
run : cabal v2-build hls-graph --flags="pedantic embed-files stm-stats"
128
127
You can’t perform that action at this time.
0 commit comments